aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-findbugs-plugin/test-resources/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sonar-findbugs-plugin/test-resources/src')
-rw-r--r--plugins/sonar-findbugs-plugin/test-resources/src/Hello.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/sonar-findbugs-plugin/test-resources/src/Hello.java b/plugins/sonar-findbugs-plugin/test-resources/src/Hello.java
new file mode 100644
index 00000000000..5bb582c7254
--- /dev/null
+++ b/plugins/sonar-findbugs-plugin/test-resources/src/Hello.java
@@ -0,0 +1,13 @@
+class Hello {
+
+ static String name;
+
+ public void methodWithViolations(String n) {
+ name = n;
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ return false;
+ }
+} \ No newline at end of file