[
https://issues.apache.org/jira/browse/HBASE-26919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17516586#comment-17516586
]
Hudson commented on HBASE-26919:
--------------------------------
Results for branch branch-2
[build #506 on
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/506/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(x) {color:red}-1 general checks{color}
-- Something went wrong running this stage, please [check relevant console
output|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/506//console].
(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- Something went wrong running this stage, please [check relevant console
output|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/506//console].
(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/506/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 jdk11 hadoop3 checks{color}
-- Something went wrong running this stage, please [check relevant console
output|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/506//console].
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
(/) {color:green}+1 client integration test{color}
> Rewrite the counting rows part in TestFromClientSide4
> -----------------------------------------------------
>
> Key: HBASE-26919
> URL: https://issues.apache.org/jira/browse/HBASE-26919
> Project: HBase
> Issue Type: Sub-task
> Components: test
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
> Fix For: 2.5.0, 3.0.0-alpha-3, 2.4.12
>
>
> Now we add an annotation to the variable declaration in the for loop, it will
> lead the following result after formatting
> {code}
> for (@SuppressWarnings("unused")
> Result row : scanner) {
> nbRows++;
> }
> {code}
> It looks really strange and checkstyle also reports indentation error.
> Let's just rewrite it an avoiding using annotation in this way, I do not know
> what is a better format for this scenario.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)