Uploaded image for project: 'Build'
  1. Build
  2. BUILD-88

Allow annotations at package level in checkstyle rules

    XMLWordPrintable

Details

    Description

      When package-info.java contains annotations before the package declaration, the current rules fail, since we explicitly expect a package declaration after the license header.
      Since Checkstyle doesn't seem to differentiate between actual java sources and package-info, we could relax the regexp for header checks, and let is pass with annotations as well.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              gjoseph Magnolia International
              ehechinger Eric Hechinger
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: