diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/ClusterStatus.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/ClusterStatus.java index 13c5bacb747..351b0c8305d 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/ClusterStatus.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/ClusterStatus.java @@ -138,7 +138,7 @@ public class ClusterStatus { */ public List getDeadServerNames() { if (deadServers == null) { - return Collections.EMPTY_LIST; + return Collections.emptyList(); } return Collections.unmodifiableList(deadServers); } @@ -256,7 +256,7 @@ public class ClusterStatus { public Collection getServers() { if (liveServers == null) { - return Collections.EMPTY_LIST; + return Collections.emptyList(); } return Collections.unmodifiableCollection(this.liveServers.keySet()); } @@ -281,7 +281,7 @@ public class ClusterStatus { */ public List getBackupMasters() { if (backupMasters == null) { - return Collections.EMPTY_LIST; + return Collections.emptyList(); } return Collections.unmodifiableList(this.backupMasters); }