Skip to content

Commit

Permalink
SONAR-21233 test
Browse files Browse the repository at this point in the history
  • Loading branch information
antoine-vinot-sonarsource committed Jan 31, 2024
1 parent 45cc2f9 commit 0aefb70
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/main/java/test/AnotherTry.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package test;

public class AnotherTry {

String var = "var";

public AnotherTry() {
var = "var";
}

public String aVar() {
String var = "bla";
if (var.contains("bla")) {
var += "bla";
}
return var;
}
}

0 comments on commit 0aefb70

Please sign in to comment.