diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2018-06-29 15:32:56 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2018-07-04 09:53:54 +0200 |
commit | 33e455cf4f0128dceaa1c72be20afcfb978bf2e2 (patch) | |
tree | 45b47967e5563455cb4d125f3dfb8fd04534e310 /it/projects/java-bytecode/src/HasFindbugsViolation.java | |
parent | 050dd2d15cf83feb44857ffec5fe0b6073797bf7 (diff) | |
download | sonar-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.java | 13 |
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); - } -} |