[ https://issues.apache.org/jira/browse/HBASE-20484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16460867#comment-16460867 ]
Hudson commented on HBASE-20484: -------------------------------- Results for branch branch-2.0 [build #249 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/249/]: (x) *{color:red}-1 overall{color}* ---- details (if available): (/) {color:green}+1 general checks{color} -- For more information [see general report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/249//General_Nightly_Build_Report/] (/) {color:green}+1 jdk8 hadoop2 checks{color} -- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/249//JDK8_Nightly_Build_Report_(Hadoop2)/] (x) {color:red}-1 jdk8 hadoop3 checks{color} -- For more information [see jdk8 (hadoop3) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/249//JDK8_Nightly_Build_Report_(Hadoop3)/] (/) {color:green}+1 source release artifact{color} -- See build output for details. > Remove the unnecessary autoboxing in FilterListBase > --------------------------------------------------- > > Key: HBASE-20484 > URL: https://issues.apache.org/jira/browse/HBASE-20484 > Project: HBase > Issue Type: Improvement > Reporter: Chia-Ping Tsai > Assignee: Guangxu Cheng > Priority: Trivial > Labels: beginner, beginners > Fix For: 3.0.0, 2.1.0, 2.0.1 > > Attachments: HBASE-20484.master.001.patch > > > {code:java} > protected static boolean checkAndGetReversed(List<Filter> rowFilters, boolean > defaultValue) { > if (rowFilters.isEmpty()) { > return defaultValue; > } > Boolean retValue = rowFilters.get(0).isReversed(); // this one > boolean allEqual = > rowFilters.stream().map(Filter::isReversed).allMatch(retValue::equals); > if (!allEqual) { > throw new IllegalArgumentException("Filters in the list must have the > same reversed flag"); > } > return retValue; > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)