-
Notifications
You must be signed in to change notification settings - Fork 1.2k
added constant for magic code #1597
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
Conversation
"=" was used in lots of space extracted it as constant
|
Looks like there are some trailing space problems. Can you please fix that @vcharmcaster Also, can you rebase your commits into a single commit? Otherwise, the code LGTM 👍 |
|
Should the result of the splits be stripped of whitespace to make sure there is no extra whitespace being saved into variables? |
|
@vcharmcaster it looks like your commit still did not fix the problems. Can you check the problems I mentioned in my previous comments. There are some trailing spaces and tabs which need to be fixed. |
|
@blueorangutan package |
|
@rhtyd a Trillian-Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✖centos6 ✖centos7 ✖debian repo: http://packages.shapeblue.com/cloudstack/pr/1597 |
|
Packaging result: ✖centos6 ✖centos7 ✖debian repo: http://packages.shapeblue.com/cloudstack/pr/1597 |
|
@blueorangutan package |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✖centos6 ✖centos7 ✖debian. JID-212 |
|
@vcharmcaster can you fix the space/tab issue. |
| if (paramTokens != null && paramTokens.length == 2) { | ||
| String name = param.split("=")[0]; | ||
| String value = param.split("=")[1]; | ||
| String name = param.split(EQUALS)[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.
Could be also simplified to paramTokens[0]
| String name = param.split("=")[0]; | ||
| String value = param.split("=")[1]; | ||
| String name = param.split(EQUALS)[0]; | ||
| String value = param.split(EQUALS)[1]; |
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.
Could be also simplified to paramTokens[1]
|
@vcharmcaster please rebase and re-open if still relevant @GabrielBrascher is this still relevant? |
"=" was used in lots of space extracted it as constant