Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13969

Warnings Plugin does not recognize Eclipse 3.8 Java warnings

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      In Eclipse 3.8 the format of the warning messages has been changed slightly:

      [INFO] Compiling 5 source files to /media/ssd/multi-x-processor/workspace/msgPM_Access/com.faktorzehn.pa2msgpm.core/target/classes
      [WARNING] /media/ssd/multi-x-processor/workspace/msgPM_Access/com.faktorzehn.pa2msgpm.core/src/com/faktorzehn/pa2msgpm/core/loader/PmModelImporter.java:[369,0] 
      	private boolean compare(List<String> rowTableValues, List<String> allowedValues) {
      	                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      The method compare(List<String>, List<String>) from the type PmModelImporter is never used locally
      [WARNING] /media/ssd/multi-x-processor/workspace/msgPM_Access/com.faktorzehn.pa2msgpm.core/src/com/faktorzehn/pa2msgpm/core/loader/PmModelImporter.java:[391,0] 
      	private List<String> getTableValues(PropertyRestrictionType restrictionType) {
      	                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      The method getTableValues(PropertyRestrictionType) from the type PmModelImporter is never used locally
      2 problems (2 warnings)
      

        Attachments

          Activity

          Hide
          alex Alexander Weickmann added a comment - - edited

          Also not recognized:

          [WARNING] /media/ssd/multi-x-processor/workspace/msgPM_Access/com.faktorzehn.pa2msgpm.core.test/src/com/faktorzehn/pa2msgpm/core/importer/PropertyImporterTest.java:[56,0] 
          	private static final OperationResponseType ERROR_RESPONSE = new OperationResponseType(1, "ERROR");
          	                                           ^^^^^^^^^^^^^^
          The value of the field PropertyImporterTest.ERROR_RESPONSE is not used
          1 problem (1 warning)
          
          Show
          alex Alexander Weickmann added a comment - - edited Also not recognized: [WARNING] /media/ssd/multi-x-processor/workspace/msgPM_Access/com.faktorzehn.pa2msgpm.core.test/src/com/faktorzehn/pa2msgpm/core/importer/PropertyImporterTest.java:[56,0] private static final OperationResponseType ERROR_RESPONSE = new OperationResponseType(1, "ERROR"); ^^^^^^^^^^^^^^ The value of the field PropertyImporterTest.ERROR_RESPONSE is not used 1 problem (1 warning)
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/warnings/parser/EclipseParser.java
          src/test/java/hudson/plugins/warnings/parser/AbstractEclipseParserTest.java
          src/test/java/hudson/plugins/warnings/parser/DynamicDocumentParserTest.java
          src/test/java/hudson/plugins/warnings/parser/EclipseParserTest.java
          src/test/resources/hudson/plugins/warnings/parser/issue13969.txt
          http://jenkins-ci.org/commit/warnings-plugin/0a999e49ab42b367d11549c3326d5f768841c042
          Log:
          JENKINS-13969 Update of regexp to support Eclipse 3.8 warnings.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/warnings/parser/EclipseParser.java src/test/java/hudson/plugins/warnings/parser/AbstractEclipseParserTest.java src/test/java/hudson/plugins/warnings/parser/DynamicDocumentParserTest.java src/test/java/hudson/plugins/warnings/parser/EclipseParserTest.java src/test/resources/hudson/plugins/warnings/parser/issue13969.txt http://jenkins-ci.org/commit/warnings-plugin/0a999e49ab42b367d11549c3326d5f768841c042 Log: JENKINS-13969 Update of regexp to support Eclipse 3.8 warnings.

            People

            • Assignee:
              drulli Ulli Hafner
              Reporter:
              alex Alexander Weickmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: