diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/webapp/MetaBrowser.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/webapp/MetaBrowser.java index 5b07427599c..65d88c6a362 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/webapp/MetaBrowser.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/webapp/MetaBrowser.java @@ -361,7 +361,7 @@ public class MetaBrowser { return null; } try { - return T.valueOf(clazz, value); + return Enum.valueOf(clazz, value); } catch (IllegalArgumentException e) { return null; }