Skip to content

Commit 7412e89

Browse files
committed
Removed unused method in DeprecatedKeyInfo to solve spotbugs warning
1 parent b572ee3 commit 7412e89

File tree

1 file changed

+0
-4
lines changed
  • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf

1 file changed

+0
-4
lines changed

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -379,10 +379,6 @@ private static class DeprecatedKeyInfo {
379379
this.customMessage = customMessage;
380380
}
381381

382-
private final String getWarningMessage(String key) {
383-
return getWarningMessage(key, null);
384-
}
385-
386382
/**
387383
* Method to provide the warning message. It gives the custom message if
388384
* non-null, and default message otherwise.

0 commit comments

Comments
 (0)