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:
Peter Somogyi 2020-01-18 09:33:21 +01:00 committed by GitHub
parent 70c8a5d939
commit 65bcf55892
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}