Added a getMatches() to CPD

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1683 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2003-04-03 14:32:09 +00:00
parent d4e1330807
commit 6e99fb264c

View File

@ -35,6 +35,10 @@ public class CPD {
matchAlgorithm.findMatches(minimumTileSize);
}
public Iterator getMatches() {
return matchAlgorithm.matches();
}
public String getReport() {
// yikes. there's a dire need for refactoring here.
StringBuffer rpt = new StringBuffer();