Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11183

Checkstyle errors in camel-package-maven-plugin

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.19.0
    • 2.19.0
    • None
    • Unknown

    Description

      The following Checkstyle errors are reported for the camel-package-maven-plugin module:

      [ERROR] C:\var\git\camel\tooling\maven\camel-package-maven-plugin\src\main\java\org\apache\camel\maven\packaging\PackageDataFormatMojo.java:105:5: Executable statement count is 101 (max allowed is 100). [ExecutableStatementCount]
      [ERROR] C:\var\git\camel\tooling\maven\camel-package-maven-plugin\src\main\java\org\apache\camel\maven\packaging\PackageHelper.java:165:13: Boolean expression complexity is 7 (max allowed is 6). [BooleanExpressionComplexity]
      [ERROR] C:\var\git\camel\tooling\maven\camel-package-maven-plugin\src\main\java\org\apache\camel\maven\packaging\PrepareCatalogKarafMojo.java:394:21: Boolean expression complexity is 9 (max allowed is 6). [BooleanExpressionComplexity]
      [ERROR] C:\var\git\camel\tooling\maven\camel-package-maven-plugin\src\main\java\org\apache\camel\maven\packaging\PrepareCatalogMojo.java:323:5: Executable statement count is 109 (max allowed is 100). [ExecutableStatementCount]
      [ERROR] C:\var\git\camel\tooling\maven\camel-package-maven-plugin\src\main\java\org\apache\camel\maven\packaging\PrepareCatalogMojo.java:795:21: Boolean expression complexity is 9 (max allowed is 6). [BooleanExpressionComplexity]
      [ERROR] C:\var\git\camel\tooling\maven\camel-package-maven-plugin\src\main\java\org\apache\camel\maven\packaging\PrepareCatalogSpringBootMojo.java:426:21: Boolean expression complexity is 9 (max allowed is 6). [BooleanExpressionComplexity]
      

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            gzurowski Gregor Zurowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: