Uploaded image for project: 'Active and Available Inventory'
  1. Active and Available Inventory
  2. AAI-1523

aai-common warnings from maven-checkstyle-plugin (onap-java-style)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Low Low
    • Dublin Release
    • Casablanca Release
    • None

      When building aai-common using "mvn clean install", there are a large number of warnings given by the maven-checkstyle-plugin (onap-java-style) such as:

      warning: 'member def modifier' have incorrect indentation level 8, expected level should be 4.
      warning: Line contains a tab character.

      The code is indented using tabs rather than spaces and the checkstyle plugin considers this to be the "incorrect indentation".

      Although this warning appears fairly innocuous, it does produce nearly 24k lines of output (13k of "line contains a tab character" and 11k of "incorrect indentation"), which makes it a chore to check for actual errors.

      Suggestion is to simply replace the tabs with spaces to avoid the warnings.

            keong keong
            keong keong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: