-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Code Refactors #1017
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code Refactors #1017
Conversation
src/main/java/org/json/Cookie.java
Outdated
| * @return The unescaped string. | ||
| */ | ||
| public static String unescape(String string) { | ||
| int i = 0; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
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.
|
|
What problem does this code solve? Does the code still compile with Java6? Risks Changes to the API? Will this require a new release? Should the documentation be updated? Does it break the unit tests? Was any code refactored in this commit? Review status Starting 3-day comment window |

Commit 1
Commit 2
Commit 3
Commit 4