YARN-4816. Fix incompatible change in SystemClock.

(cherry picked from commit eba66a64d2)
This commit is contained in:
Siddharth Seth 2016-03-14 20:14:33 -07:00
parent f85d979a3f
commit edd9abf302
1 changed files with 3 additions and 2 deletions

View File

@ -38,11 +38,12 @@ public final class SystemClock implements Clock {
return INSTANCE; return INSTANCE;
} }
private SystemClock() { @Deprecated
public SystemClock() {
// do nothing // do nothing
} }
public long getTime() { public long getTime() {
return System.currentTimeMillis(); return System.currentTimeMillis();
} }
} }