HBASE-23653 Expose content of meta table in web ui; addendum (#1061)
Fix error prone problem Signed-off-by: Nick Dimiduk <ndimiduk@apache.org> Signed-off-by: Viraj Jasani <vjasani@apache.org> Signed-off-by: stack <stack@apache.org>
This commit is contained in:
parent
70c8a5d939
commit
65bcf55892
|
@ -361,7 +361,7 @@ public class MetaBrowser {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
return T.valueOf(clazz, value);
|
return Enum.valueOf(clazz, value);
|
||||||
} catch (IllegalArgumentException e) {
|
} catch (IllegalArgumentException e) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue