aboutsummaryrefslogtreecommitdiffstats
path: root/it/projects/java-bytecode/src/HasFindbugsViolation.java
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2018-06-29 15:32:56 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2018-07-04 09:53:54 +0200
commit33e455cf4f0128dceaa1c72be20afcfb978bf2e2 (patch)
tree45b47967e5563455cb4d125f3dfb8fd04534e310 /it/projects/java-bytecode/src/HasFindbugsViolation.java
parent050dd2d15cf83feb44857ffec5fe0b6073797bf7 (diff)
downloadsonar-scanner-cli-33e455cf4f0128dceaa1c72be20afcfb978bf2e2.tar.gz
sonar-scanner-cli-33e455cf4f0128dceaa1c72be20afcfb978bf2e2.zip
Replace SonarJava by SonarJS in ITs to support SQ 7.3
Diffstat (limited to 'it/projects/java-bytecode/src/HasFindbugsViolation.java')
-rw-r--r--it/projects/java-bytecode/src/HasFindbugsViolation.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/it/projects/java-bytecode/src/HasFindbugsViolation.java b/it/projects/java-bytecode/src/HasFindbugsViolation.java
deleted file mode 100644
index c68f54f..0000000
--- a/it/projects/java-bytecode/src/HasFindbugsViolation.java
+++ /dev/null
@@ -1,13 +0,0 @@
-public class HasFindbugsViolation {
-
- private String field;
-
- public void use() {
- new DeprecatedExample().deprecatedMethod(); // violation of squid rule: CallToDeprecatedMethod
- System.exit(33); // violation on findbugs rule: DM_EXIT
- }
-
- public void useFieldForLcom4() {
- System.out.println(field);
- }
-}