Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.4.0, 0.5.0
Description
we have one case of not giving the ArrayList constructor an initial capacity
Busbey-MBA:yetus busbey$ git grep "new ArrayList" audience-annotations-component/audience-annotations/src/main/java/org/apache/yetus/audience/tools/RootDocProcessor.java: List<Object> list = new ArrayList<Object>(array.length); audience-annotations-component/audience-annotations/src/main/java/org/apache/yetus/audience/tools/StabilityOptions.java: List<String[]> optionsList = new ArrayList<String[]>(); Busbey-MBA:yetus busbey$
StabilityOptions should be updated to use options.length
Attachments
Attachments
Issue Links
- is related to
-
HBASE-17823 Migrate to Apache Yetus Audience Annotations
- Closed