Uploaded image for project: 'Hawkular'
  1. Hawkular
  2. HAWKULAR-358

Add Checkstyle rule to enforce the order of Java imports

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 1.0.0.Alpha5
    • None
    • Build
    • None

    Description

      There are Eclipse and Idea prererences for import order in dev tools
      https://github.com/hawkular/hawkular-build-tools/blob/master/ide-configs/eclipse/hawkular-eclipse-preferences-java-codestyle-organizeimports.importorder

      The settings should be enforced by Checkstyle too, probably using this rule:
      http://checkstyle.sourceforge.net/config_imports.html#ImportOrder

      Attachments

        Activity

          People

            ppalaga Peter Palaga
            ppalaga Peter Palaga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: