Skip to content

Conversation

@Md-Yasir
Copy link
Contributor

@Md-Yasir Md-Yasir commented Oct 23, 2025

* @return The unescaped string.
*/
public static String unescape(String string) {
int i = 0;
Copy link
Owner

Choose a reason for hiding this comment

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

Please add a link in the description to the SonarQube issue you are fixing here.

Copy link
Owner

Choose a reason for hiding this comment

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

Please provide a reason, or revert this change. There does not appear to be an associated SonarQube issue.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Owner

Choose a reason for hiding this comment

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

Thanks, I missed that. The index is still being updated within the loop. Also, I have marked the issue as 'Accepted', so it does not need to be fixed. Please revert this change.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 25, 2025

Quality Gate Passed Quality Gate passed

Issues
0 New issues
4 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@stleary
Copy link
Owner

stleary commented Nov 5, 2025

What problem does this code solve?
Sonarqube refactorings

Does the code still compile with Java6?
Yes

Risks
Low

Changes to the API?
No. Some constructors were deprecated.

Will this require a new release?
No

Should the documentation be updated?
No

Does it break the unit tests?
No

Was any code refactored in this commit?
Yes, this was all refactoring

Review status
APPROVED

Starting 3-day comment window

@stleary stleary merged commit 8c14e96 into stleary:master Nov 10, 2025
8 checks passed
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.

2 participants