added constant for magic code#1597
added constant for magic code#1597vcharmcaster wants to merge 3 commits intoapache:masterapache/cloudstack:masterfrom vcharmcaster:masterCopy head branch name to clipboard
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.
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.
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