From c5bb8e569fae3e600b03ebdafd5aba5ef4ded37d Mon Sep 17 00:00:00 2001 From: Wouter Zelle Date: Thu, 30 Nov 2006 21:09:59 +0000 Subject: [PATCH] Added a test for constructors git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4848 51baf565-9d33-0410-a72c-fc3788e3496d --- .../pmd/rules/xml/UselessOverridingMethod.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pmd/regress/test/net/sourceforge/pmd/rules/xml/UselessOverridingMethod.xml b/pmd/regress/test/net/sourceforge/pmd/rules/xml/UselessOverridingMethod.xml index 487a05136a..820e34b96f 100644 --- a/pmd/regress/test/net/sourceforge/pmd/rules/xml/UselessOverridingMethod.xml +++ b/pmd/regress/test/net/sourceforge/pmd/rules/xml/UselessOverridingMethod.xml @@ -202,6 +202,19 @@ public class Foo extends Bar { public synchronized String foo() { return super.foo(); } +} + ]]> + + + + 0 +