diff --git a/pmd/regress/test/net/sourceforge/pmd/ast/AccessNodeTest.java b/pmd/regress/test/net/sourceforge/pmd/ast/AccessNodeTest.java index 7494500a3f..5b982e6bac 100644 --- a/pmd/regress/test/net/sourceforge/pmd/ast/AccessNodeTest.java +++ b/pmd/regress/test/net/sourceforge/pmd/ast/AccessNodeTest.java @@ -7,8 +7,6 @@ import junit.framework.*; public class AccessNodeTest extends TestCase { - public AccessNodeTest( String name ) { super( name ); } - public void testStatic() { AccessNode node = new AccessNode( 1 ); diff --git a/pmd/regress/test/net/sourceforge/pmd/ast/ClassDeclTest.java b/pmd/regress/test/net/sourceforge/pmd/ast/ClassDeclTest.java index fda62f513a..1b0476bb9e 100644 --- a/pmd/regress/test/net/sourceforge/pmd/ast/ClassDeclTest.java +++ b/pmd/regress/test/net/sourceforge/pmd/ast/ClassDeclTest.java @@ -8,9 +8,6 @@ import net.sourceforge.pmd.ast.*; public class ClassDeclTest extends ParserTst { - public ClassDeclTest( String name ) { - super( name ); - } public void testPublic() throws Throwable diff --git a/pmd/regress/test/net/sourceforge/pmd/ast/FieldDeclTest.java b/pmd/regress/test/net/sourceforge/pmd/ast/FieldDeclTest.java index e0f3e044fa..41366dc49a 100644 --- a/pmd/regress/test/net/sourceforge/pmd/ast/FieldDeclTest.java +++ b/pmd/regress/test/net/sourceforge/pmd/ast/FieldDeclTest.java @@ -8,10 +8,6 @@ import net.sourceforge.pmd.ast.*; public class FieldDeclTest extends ParserTst { - public FieldDeclTest( String name ) { - super( name ); - } - public String makeAccessJavaCode( String access[] ) { String RC = "public class Test { "; diff --git a/pmd/regress/test/net/sourceforge/pmd/ast/MethodDeclTest.java b/pmd/regress/test/net/sourceforge/pmd/ast/MethodDeclTest.java index c67e0380b2..7fc52e049c 100644 --- a/pmd/regress/test/net/sourceforge/pmd/ast/MethodDeclTest.java +++ b/pmd/regress/test/net/sourceforge/pmd/ast/MethodDeclTest.java @@ -14,11 +14,7 @@ import net.sourceforge.pmd.ast.*; public class MethodDeclTest extends ParserTst { - public MethodDeclTest( String name ) { - super( name ); - } - - public void testPublic() + public void testPublic() throws Throwable { String access[] = { "public" }; diff --git a/pmd/regress/test/net/sourceforge/pmd/ast/ParserTst.java b/pmd/regress/test/net/sourceforge/pmd/ast/ParserTst.java index c5e428f644..2f2148e036 100644 --- a/pmd/regress/test/net/sourceforge/pmd/ast/ParserTst.java +++ b/pmd/regress/test/net/sourceforge/pmd/ast/ParserTst.java @@ -49,10 +49,6 @@ public class ParserTst } } - public ParserTst( String testName ) { - super( testName ); - } - public Set getNodes( Class clazz, String javaCode ) throws Throwable diff --git a/pmd/regress/test/net/sourceforge/pmd/ast/SimpleNodeTest.java b/pmd/regress/test/net/sourceforge/pmd/ast/SimpleNodeTest.java index 5a3ebdfbde..cb6f33cf95 100644 --- a/pmd/regress/test/net/sourceforge/pmd/ast/SimpleNodeTest.java +++ b/pmd/regress/test/net/sourceforge/pmd/ast/SimpleNodeTest.java @@ -8,9 +8,6 @@ import java.util.Iterator; public class SimpleNodeTest extends ParserTst { - public SimpleNodeTest( String name ) { - super( name ); - } public void testMethodDiffLines() throws Throwable diff --git a/pmd/regress/test/net/sourceforge/pmd/cpd/CPDTest.java b/pmd/regress/test/net/sourceforge/pmd/cpd/CPDTest.java index 7786ac5c09..7d26b08ef2 100644 --- a/pmd/regress/test/net/sourceforge/pmd/cpd/CPDTest.java +++ b/pmd/regress/test/net/sourceforge/pmd/cpd/CPDTest.java @@ -13,9 +13,6 @@ import java.util.List; import java.util.ArrayList; public class CPDTest extends TestCase{ - public CPDTest(String name) { - super(name); - } public void testBasic() throws Throwable { CPD cpd = new CPD(); diff --git a/pmd/regress/test/net/sourceforge/pmd/cpd/GSTTest.java b/pmd/regress/test/net/sourceforge/pmd/cpd/GSTTest.java index dd0050ade0..031892e070 100644 --- a/pmd/regress/test/net/sourceforge/pmd/cpd/GSTTest.java +++ b/pmd/regress/test/net/sourceforge/pmd/cpd/GSTTest.java @@ -11,9 +11,6 @@ import net.sourceforge.pmd.cpd.*; import java.util.Iterator; public class GSTTest extends TestCase { - public GSTTest(String name) { - super(name); - } public void test1() { TokenList ts1 = GSTTest.createHelloTokenSet("foo"); diff --git a/pmd/regress/test/net/sourceforge/pmd/cpd/JavaTokensTokenizerTest.java b/pmd/regress/test/net/sourceforge/pmd/cpd/JavaTokensTokenizerTest.java index e2b81ba90d..d7369ab1c5 100644 --- a/pmd/regress/test/net/sourceforge/pmd/cpd/JavaTokensTokenizerTest.java +++ b/pmd/regress/test/net/sourceforge/pmd/cpd/JavaTokensTokenizerTest.java @@ -17,10 +17,6 @@ public class JavaTokensTokenizerTest extends TestCase { private static final String EOL = System.getProperty("line.separator", "\n"); - public JavaTokensTokenizerTest(String name) { - super(name); - } - public void test1() throws Throwable { Tokenizer tokenizer = new JavaTokensTokenizer(); TokenList tl = new TokenList("1"); diff --git a/pmd/regress/test/net/sourceforge/pmd/cpd/OccurrencesTest.java b/pmd/regress/test/net/sourceforge/pmd/cpd/OccurrencesTest.java index 7a2669cc55..84e15170ff 100644 --- a/pmd/regress/test/net/sourceforge/pmd/cpd/OccurrencesTest.java +++ b/pmd/regress/test/net/sourceforge/pmd/cpd/OccurrencesTest.java @@ -11,9 +11,6 @@ import net.sourceforge.pmd.cpd.*; import java.util.Iterator; public class OccurrencesTest extends TestCase { - public OccurrencesTest(String name) { - super(name); - } public void testBasic1() { Occurrences occs = new Occurrences(new TokenSets()); diff --git a/pmd/regress/test/net/sourceforge/pmd/cpd/ResultsTest.java b/pmd/regress/test/net/sourceforge/pmd/cpd/ResultsTest.java index c75db83179..decab77b63 100644 --- a/pmd/regress/test/net/sourceforge/pmd/cpd/ResultsTest.java +++ b/pmd/regress/test/net/sourceforge/pmd/cpd/ResultsTest.java @@ -14,9 +14,6 @@ import net.sourceforge.pmd.cpd.ResultsImpl; import java.util.Iterator; public class ResultsTest extends TestCase { - public ResultsTest(String name) { - super(name); - } public void testBasic() { Results r = new ResultsImpl(); diff --git a/pmd/regress/test/net/sourceforge/pmd/cpd/TileTest.java b/pmd/regress/test/net/sourceforge/pmd/cpd/TileTest.java index 885355aaf9..f233ee507a 100644 --- a/pmd/regress/test/net/sourceforge/pmd/cpd/TileTest.java +++ b/pmd/regress/test/net/sourceforge/pmd/cpd/TileTest.java @@ -13,9 +13,6 @@ import java.util.ArrayList; import java.util.List; public class TileTest extends TestCase { - public TileTest(String name) { - super(name); - } public void testConstructors() { TokenEntry tok = new TokenEntry("a", 2,"foo", 5); diff --git a/pmd/regress/test/net/sourceforge/pmd/cpd/TokenEntryTest.java b/pmd/regress/test/net/sourceforge/pmd/cpd/TokenEntryTest.java index 4a20d68bd4..fa29febf9f 100644 --- a/pmd/regress/test/net/sourceforge/pmd/cpd/TokenEntryTest.java +++ b/pmd/regress/test/net/sourceforge/pmd/cpd/TokenEntryTest.java @@ -9,9 +9,6 @@ import junit.framework.TestCase; import net.sourceforge.pmd.cpd.TokenEntry; public class TokenEntryTest extends TestCase { - public TokenEntryTest(String name) { - super(name); - } public void testBasic() { TokenEntry t = new TokenEntry("a", 2, "foo", 5); diff --git a/pmd/regress/test/net/sourceforge/pmd/cpd/TokenListTest.java b/pmd/regress/test/net/sourceforge/pmd/cpd/TokenListTest.java index 7024a9c2d0..e13c0d8e55 100644 --- a/pmd/regress/test/net/sourceforge/pmd/cpd/TokenListTest.java +++ b/pmd/regress/test/net/sourceforge/pmd/cpd/TokenListTest.java @@ -20,10 +20,6 @@ public class TokenListTest extends TestCase { */ protected String EOL = System.getProperty("line.separator", "\n"); - public TokenListTest(String name) { - super(name); - } - public void testBasic() { TokenList ts = new TokenList("foo"); assertEquals("foo", ts.getID()); diff --git a/pmd/regress/test/net/sourceforge/pmd/cpd/TokenSetsTest.java b/pmd/regress/test/net/sourceforge/pmd/cpd/TokenSetsTest.java index ccac7b7b33..1a0b2a7527 100644 --- a/pmd/regress/test/net/sourceforge/pmd/cpd/TokenSetsTest.java +++ b/pmd/regress/test/net/sourceforge/pmd/cpd/TokenSetsTest.java @@ -11,9 +11,6 @@ import net.sourceforge.pmd.cpd.TokenList; import net.sourceforge.pmd.cpd.TokenEntry; public class TokenSetsTest extends TestCase { - public TokenSetsTest(String name) { - super(name); - } public void testBasic() { TokenEntry tok = new TokenEntry("H", 0, "foo", 5);