fixed null impl

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@807 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2002-08-28 15:28:25 +00:00
parent 5a6fca3ae1
commit 60b7c6cf13

View File

@ -8,9 +8,9 @@ package net.sourceforge.pmd.cpd;
import java.io.File;
public class CPDNullListener implements CPDListener{
public boolean update(String msg) {return false;}
public boolean addedFile(int fileCount, File file) {return false;}
public boolean addingTokens(int tokenSetCount, int doneSoFar, String tokenSrcID) {return false;}
public boolean addedNewTile(Tile tile, int tilesSoFar, int totalTiles) {return false;}
public boolean update(String msg) {return true;}
public boolean addedFile(int fileCount, File file) {return true;}
public boolean addingTokens(int tokenSetCount, int doneSoFar, String tokenSrcID) {return true;}
public boolean addedNewTile(Tile tile, int tilesSoFar, int totalTiles) {return true;}
}