YARN-4816. Fix incompatible change in SystemClock.
(cherry picked from commit eba66a64d28b50a660d6f537c767677f5fa0f7ea)
This commit is contained in:
parent
f85d979a3f
commit
edd9abf302
@ -38,11 +38,12 @@ public static SystemClock getInstance() {
|
||||
return INSTANCE;
|
||||
}
|
||||
|
||||
private SystemClock() {
|
||||
@Deprecated
|
||||
public SystemClock() {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
public long getTime() {
|
||||
return System.currentTimeMillis();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user