diff options
author | Andreas Gampe <agampe@google.com> | 2015-03-03 18:26:26 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2015-03-03 18:26:26 -0800 |
commit | 3009efd22d7e41fefb25f1a545348e6db84e2f23 (patch) | |
tree | a07cb8235d301ddb883f8673e2971780c097c7f0 /libart | |
parent | d9cc41feea36bebfa886abd83c00027ad8e7b53c (diff) | |
download | libcore-3009efd22d7e41fefb25f1a545348e6db84e2f23.zip libcore-3009efd22d7e41fefb25f1a545348e6db84e2f23.tar.gz libcore-3009efd22d7e41fefb25f1a545348e6db84e2f23.tar.bz2 |
Libcore: Remove unused constructor
Change-Id: I8ca3a450d458d7eba13d8eee1f58fa3d907139b3
Diffstat (limited to 'libart')
-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"); |