From 6e8d7ca48d58888963d36db08d9952609e8e5187 Mon Sep 17 00:00:00 2001 From: aheritier Date: Fri, 3 Feb 2006 23:30:19 +0000 Subject: [PATCH] add some errors git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@374782 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/org/apache/maven/Dummy.java | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/pmd/src/plugin-test/src/main/org/apache/maven/Dummy.java b/pmd/src/plugin-test/src/main/org/apache/maven/Dummy.java index 4622c83f..1eeab97e 100644 --- a/pmd/src/plugin-test/src/main/org/apache/maven/Dummy.java +++ b/pmd/src/plugin-test/src/main/org/apache/maven/Dummy.java @@ -3,8 +3,8 @@ package org.apache.maven; import java.lang.*; public class Dummy { - public String badChecky = "error"; - + public String badChecky = "tag"; + private String unusedField = "Foo"; public Dummy() { @@ -17,5 +17,16 @@ public class Dummy { } private void unusedMethod() { + ; + } + + private void bar() { + buz("Howdy"); + buz("Howdy"); + buz("Howdy"); + buz("Howdy"); + } + + private void buz(String x) { } } \ No newline at end of file