summaryrefslogtreecommitdiffstats
path: root/libart
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-03-04 02:28:11 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-03-04 02:28:11 +0000
commitf6681759e51d8e22f871a0f826baab53e02717f1 (patch)
treea07cb8235d301ddb883f8673e2971780c097c7f0 /libart
parentd9cc41feea36bebfa886abd83c00027ad8e7b53c (diff)
parent3009efd22d7e41fefb25f1a545348e6db84e2f23 (diff)
downloadlibcore-f6681759e51d8e22f871a0f826baab53e02717f1.zip
libcore-f6681759e51d8e22f871a0f826baab53e02717f1.tar.gz
libcore-f6681759e51d8e22f871a0f826baab53e02717f1.tar.bz2
Merge "Libcore: Remove unused constructor"
Diffstat (limited to 'libart')
-rw-r--r--libart/src/main/java/java/lang/Daemons.java6
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");