diff --git a/pmd/src/net/sourceforge/pmd/CPD.java b/pmd/src/net/sourceforge/pmd/CPD.java index bd1b8cb60c..5736e5c676 100644 --- a/pmd/src/net/sourceforge/pmd/CPD.java +++ b/pmd/src/net/sourceforge/pmd/CPD.java @@ -91,7 +91,7 @@ public class CPD { } if (newImage.length() > minimumTokenSize) { List list = (List)newTokenPtrs.get(newImage); - //if (list.size() > 1) { + if (list.size() > 1) { boolean already = false; for (Iterator p = this.tokensFound.iterator(); p.hasNext();) { @@ -104,7 +104,7 @@ public class CPD { tokensFound.add(newImage); System.out.println("newImage = " + newImage); } - //} + } } } }