YARN-4816. Fix incompatible change in SystemClock.
This commit is contained in:
parent
19e8f07691
commit
eba66a64d2
|
@ -38,11 +38,12 @@ public final class SystemClock implements Clock {
|
|||
return INSTANCE;
|
||||
}
|
||||
|
||||
private SystemClock() {
|
||||
@Deprecated
|
||||
public SystemClock() {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
public long getTime() {
|
||||
return System.currentTimeMillis();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue