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 bb63de1 commit 84db22f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/main/java/test/EmailCaseSensitive.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,16 @@ public EmailCaseSensitive(String email) {

public String somethingElse() {
String email = "email";
if (email.contains("something")) {
if (email.contains("somethingElse")) {
email += "more";
}
return email;
}

public String getEmail() {
if (true) {
return email;
}
return email;
}
}

0 comments on commit 84db22f

Please sign in to comment.