Add a no args constructor to CPDConfiguration.

This allows API users to build a path forward from the 5.0.x versions
of the API to 5.1.x.
This commit is contained in:
Henning Schmiedehausen 2013-11-26 10:26:14 -08:00
parent 973fd1c4d4
commit 14e1f8bb81

View File

@ -33,7 +33,11 @@ public class CPDConfiguration extends AbstractConfiguration {
skipDuplicates = findBooleanSwitch(args, "--skip-duplicate-files");
}
public CPDConfiguration()
{
}
public CPDConfiguration(int theMinTileSize, Language theLanguage, String theEncoding) {
minimumTileSize = theMinTileSize;
language = theLanguage;