Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-896 Fix issues detected by PMD checks
  3. REEF-900

Fix trivial issues in Java code detected by PMD

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 0.14
    • All
    • None

    Description

      Several issues detected by PMD are trivial and don't cause behavior or interface changes when fixed. The approximate list is:

      • Nested if statements could be combined
      • Avoid duplicate imports
      • Useless parentheses (duplicated by Checkstyle UnnecessaryParentheses, the most frequent cause in our code are assert statements)
      • Avoid modifiers which are implied by the context
      • Avoid unnecessary temporaries
      • Unnecessary use of fully qualified name
      • Avoid unused local variables

      These seem not worth creating one JIRA per issue type, so I bundled them here.

      Attachments

        Activity

          People

            MariiaMykhailova Mariia Mykhailova
            MariiaMykhailova Mariia Mykhailova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: