public final class StrictDuplicateCodeCheck extends AbstractFileSetCheck
| Constructor and Description |
|---|
StrictDuplicateCodeCheck()
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
process(File[] aFiles)
Processes a set of files and fires errors to the MessageDispatcher.
|
void |
setBasedir(String aBasedir) |
void |
setMin(int aMin)
Sets the minimum number of lines that must be equivalent
before the check complains.
|
destroy, filter, fireErrors, getCharset, getMessageCollector, getMessageDispatcher, log, log, setCharset, setFileExtensions, setMessageDispatchergetId, getMessageBundle, getSeverity, getSeverityLevel, log, log, log, log, log, log, log, log, log, setId, setSeverityconfigure, contextualize, finishLocalSetup, getConfiguration, setupChildclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigurecontextualizepublic StrictDuplicateCodeCheck()
public void setMin(int aMin)
aMin - the number of lines that must be equal before
triggering a 'duplicate code' message.public void setBasedir(String aBasedir)
aBasedir - the base directory to strip off in filenamespublic void process(File[] aFiles)
aFiles - the files to be audited.FileSetCheck.destroy()