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

Improve equals method for warnings

    XMLWordPrintable

Details

    Description

      Some checkstyle warnings contain details about the violation:

      File: ProductCmptView.java, Line: 76, Type: ClassDataAbstractionCouplingCheck, Priority: Normal, Category: Metrics

      Message:
      Class Data Abstraction Coupling is 19 (max allowed is 10) classes [AssocFilterListener, Combo, Composite, GridData, GridLayout, IpsObjectViewerComparator, Label, NewProductComponentAction, NewQuestionTypeAction, NewRuleTypeAction, PasteInPCViewAction, Path, ProductCmptGridConfiguration, ProductCmptSearchFilter, ProductCmptViewContentProvider, Separator, ShowProductCmptViewAction, StructuredSelection, ToggleShowAssociationsAction].

      For such warnings, the message should not be part of the equals method.

      Attachments

        Issue Links

          Activity

            People

              drulli Ulli Hafner
              drulli Ulli Hafner
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: