From 14e1f8bb818a3adb908637472f446b1c7a0bec82 Mon Sep 17 00:00:00 2001 From: Henning Schmiedehausen Date: Tue, 26 Nov 2013 10:26:14 -0800 Subject: [PATCH] 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. --- .../main/java/net/sourceforge/pmd/cpd/CPDConfiguration.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pmd/src/main/java/net/sourceforge/pmd/cpd/CPDConfiguration.java b/pmd/src/main/java/net/sourceforge/pmd/cpd/CPDConfiguration.java index e8405d13de..1ed9cced56 100644 --- a/pmd/src/main/java/net/sourceforge/pmd/cpd/CPDConfiguration.java +++ b/pmd/src/main/java/net/sourceforge/pmd/cpd/CPDConfiguration.java @@ -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;