Code formatting

pull/208/head
chen.ma 2 years ago
parent 5ca6e50647
commit 3df57be4e4

@ -15,7 +15,7 @@ public class SystemClock {
private final AtomicLong now; private final AtomicLong now;
private static final String THREAD_NAME ="system.clock"; private static final String THREAD_NAME = "system.clock";
private static class InstanceHolder { private static class InstanceHolder {
private static final SystemClock INSTANCE = new SystemClock(1); private static final SystemClock INSTANCE = new SystemClock(1);
@ -44,9 +44,6 @@ public class SystemClock {
return now.get(); return now.get();
} }
/**
* System.currentTimeMillis()
*/
public static long now() { public static long now() {
return instance().currentTimeMillis(); return instance().currentTimeMillis();
} }

Loading…
Cancel
Save