XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0, 3.0.0-alpha-3, 2.4.12
    • test
    • 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

          Activity

            People

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: