YARN-4816. Fix incompatible change in SystemClock.
This commit is contained in:
parent
19e8f07691
commit
eba66a64d2
@ -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