Share

PMD

Tracker: Bugs

5 Incorrect DD-Anomaly for arrays - ID: 2805150
Last Update: Tracker Item Submitted ( derupe )

PMD Eclipse plugin Version: 3.2.5.v200810131150

The following code created a false DD Error -

String[] dayOfWeek = new String[7];
dayOfWeek[0] = "Sunday";
dayOfWeek[1] = "Monday";
//...

dayOfWeek[0] was initialized only once, but PMD reported that all the above
lines had a DD Anomaly.

regards
Conrad Roche


derupe ( derupe ) - 2009-06-12 00:02

5

Open

None

Nobody/Anonymous

pmd-eclipse

None

Public


Comments

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.