YARN-4816. Fix incompatible change in SystemClock.

(cherry picked from commit eba66a64d28b50a660d6f537c767677f5fa0f7ea)
This commit is contained in:
Siddharth Seth 2016-03-14 20:14:33 -07:00
parent f85d979a3f
commit edd9abf302

View File

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