Skip to content

Commit 9b7c1bd

Browse files
author
yangjd33
committed
make construction of SystemClock private
1 parent cc2ac3c commit 9b7c1bd

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/SystemClock.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ public static SystemClock getInstance() {
3838
return INSTANCE;
3939
}
4040

41-
@Deprecated
42-
public SystemClock() {
41+
private SystemClock() {
4342
// do nothing
4443
}
4544

0 commit comments

Comments
 (0)