diff --git a/pmd/test-data/UnusedPrivateInstanceVar19.java b/pmd/test-data/UnusedPrivateInstanceVar19.java new file mode 100644 index 0000000000..69d7991954 --- /dev/null +++ b/pmd/test-data/UnusedPrivateInstanceVar19.java @@ -0,0 +1,7 @@ +public class UnusedPrivateInstanceVar19 { + private int x; + public void foo() { + UnusedPrivateInstanceVar19 u = new UnusedPrivateInstanceVar19(); + u.x = 2; + } +} \ No newline at end of file