Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
Now we add an annotation to the variable declaration in the for loop, it will lead the following result after formatting
for (@SuppressWarnings("unused") Result row : scanner) { nbRows++; }
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.
Attachments
Issue Links
- links to