提交 e39b36d2 authored 作者: noelgrandin@gmail.com's avatar noelgrandin@gmail.com

this class should not be extending thread, it's not being used as such

found by CodePro
上级 e00852ee
......@@ -15,7 +15,7 @@ import java.util.Map;
* system property 'h2.selfDestruct' and starts a countdown thread to kill the
* virtual machine if it still runs then.
*/
public class SelfDestructor extends Thread {
public class SelfDestructor {
private static final String PROPERTY_NAME = "h2.selfDestruct";
/**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论