Skip to content

Conversation

@ShlokMohanty
Copy link

completed the TextHelper class, removed the return null .

String strNew1 = strNew.replaceFirst("A","");
return strNew1;
}
else if (str.charAt(0)=="A" || str.charAt(1)=="A") {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

opt.semgrep.java.lang.correctness.no-string-eqeq.no-string-eqeq: Strings should not be compared with ==.
This is a reference comparison operator.
Use .equals() instead.

(at-me in a reply with help or ignore)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant