Details
-
Improvement
-
Status: Reopened
-
Minor
-
Resolution: Unresolved
-
3.0.0-alpha-1
-
None
-
None
-
None
-
Reviewed
Description
org.apache.hadoop.hbase.client.Admin
/** * Return the set of supported security capabilities. * @throws IOException * @throws UnsupportedOperationException */ List<SecurityCapability> getSecurityCapabilities() throws IOException;
The comment says a "set" but it returns a List. A Set would be the most appropriate data structure here, an immutable one perhaps, because the code that interacts with it looks up information using the contains method which would be served well by a Set. Please change this interface to return a Set.
Attachments
Issue Links
- is duplicated by
-
HBASE-19679 Superusers Logging and Data Structures
-
- Resolved
-