View by Classes

Findings - Overview

info Method uses the same code for two switch clauses (Findbugs)

Further info on the wiki.

This method uses the same code to implement two clauses of a switch statement. This could be a case of duplicate code, but it might also indicate a coding mistake.

1org.jcoderz.guidelines.snippets.SampleSnippets
Method org.jcoderz.guidelines.snippets.SampleSnippets.statements() uses the same code for two switch clauses [173]
1org.jcoderz.phoenix.report.PmdReportReader
Method org.jcoderz.phoenix.report.PmdReportReader.mapPriority(Violation) uses the same code for two switch clauses [159]