Skip to content

pmd:ConsecutiveAppendsShouldReuse - Consecutive Appends Should Reuse#2

Open
m-ezzat wants to merge 1 commit into
b1zantine:masterfrom
DevFactory:release/consecutive-appends-should-reuse-fix-1
Open

pmd:ConsecutiveAppendsShouldReuse - Consecutive Appends Should Reuse#2
m-ezzat wants to merge 1 commit into
b1zantine:masterfrom
DevFactory:release/consecutive-appends-should-reuse-fix-1

Conversation

@m-ezzat
Copy link
Copy Markdown

@m-ezzat m-ezzat commented Mar 4, 2016

This pull request is focused on resolving occurrences of Sonar rule pmd:ConsecutiveAppendsShouldReuse - Consecutive Appends Should Reuse

You can find more information about the issue here: https://dev.eclipse.org/sonar/coding_rules#q=pmd:ConsecutiveAppendsShouldReuse

Please let me know if you have any questions.

M-Ezzat

sb.append(", symbol data size ").append(getSymbolDataWidth()).append('x').append(getSymbolDataHeight());
sb.append(", codewords ").append(dataCapacity).append('+').append(errorCodewords);
return sb.toString();
return new StringBuilder().sb.append(rectangular ? "Rectangular Symbol:" : "Square Symbol:")
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Error found. Unknown variable 'sb'.

@m-ezzat
Copy link
Copy Markdown
Author

m-ezzat commented Jun 29, 2016

I am not sure whether you do not agree with these changes or not. Please close this PR if not.

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