Uploaded image for project: 'Yetus'
  1. Yetus
  2. YETUS-489

checkstyle.sh does not support checkstyle 6.14 or upper

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.5.0
    • Precommit
    • None

    Description

      The output format has changed in checkstyle 6.14 by https://github.com/checkstyle/checkstyle/issues/2666.
      Before:

      /Users/ajisaka/git/hadoop/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/InterfaceAudience.java:0: error: Missing package-info.java file.
      

      After:

      [ERROR] /Users/ajisaka/git/hadoop/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/InterfaceAudience.java:0: Missing package-info.java file. [JavadocPackage]
      

      checkstyle.sh does not support the latter.

      Attachments

        1. YETUS-489.03.patch
          1 kB
          Akira Ajisaka
        2. YETUS-489.02.patch
          1 kB
          Akira Ajisaka
        3. YETUS-489.01.patch
          1 kB
          Akira Ajisaka

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            aajisaka Akira Ajisaka
            aajisaka Akira Ajisaka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment