diff options
-rw-r--r-- | libart/src/main/java/java/lang/Daemons.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libart/src/main/java/java/lang/Daemons.java b/libart/src/main/java/java/lang/Daemons.java index 72ba387..43066e1 100644 --- a/libart/src/main/java/java/lang/Daemons.java +++ b/libart/src/main/java/java/lang/Daemons.java @@ -59,14 +59,10 @@ public final class Daemons { private Thread thread; private String name; - public Daemon(String name) { + protected Daemon(String name) { this.name = name; } - public Daemon() { - this.name = getClass().getSimpleName(); - } - public synchronized void start() { if (thread != null) { throw new IllegalStateException("already running"); |