Skip to content

Conversation

@vcharmcaster
Copy link

"=" was used in lots of space extracted it as constant

"=" was used in lots of space extracted it as constant
@syed
Copy link
Contributor

syed commented Jun 28, 2016

Looks like there are some trailing space problems. Can you please fix that @vcharmcaster

/home/jenkins/jenkins-slave/workspace/cloudstack-pr-analysis/services/console-proxy/server/src/com/cloud/consoleproxy/ConsoleProxyHttpHandlerHelper.java:25: error: Line has trailing spaces.
/home/jenkins/jenkins-slave/workspace/cloudstack-pr-analysis/services/console-proxy/server/src/com/cloud/consoleproxy/ConsoleProxyHttpHandlerHelper.java:26:1: error: Line contains a tab character.
/home/jenkins/jenkins-slave/workspace/cloudstack-pr-analysis/services/console-proxy/server/src/com/cloud/consoleproxy/ConsoleProxyHttpHandlerHelper.java:27: error: Line has trailing spaces.
/home/jenkins/jenkins-slave/workspace/cloudstack-pr-analysis/services/console-proxy/server/src/com/cloud/consoleproxy/ConsoleProxyHttpHandlerHelper.java:27:1: error: Line contains a tab character.
/home/jenkins/jenkins-slave/workspace/cloudstack-pr-analysis/services/console-proxy/server/src/com/cloud/consoleproxy/ConsoleProxyHttpHandlerHelper.java:28:1: error: Line contains a tab character.
/home/jenkins/jenkins-slave/workspace/cloudstack-pr-analysis/services/console-proxy/server/src/com/cloud/consoleproxy/ConsoleProxyHttpHandlerHelper.java:29: error: Line has trailing spaces.
/home/jenkins/jenkins-slave/workspace/cloudstack-pr-analysis/services/console-proxy/server/src/com/cloud/consoleproxy/ConsoleProxyHttpHandlerHelper.java:29:1: error: Line contains a tab character.

Also, can you rebase your commits into a single commit?

Otherwise, the code LGTM 👍

@swill
Copy link
Contributor

swill commented Jun 28, 2016

Should the result of the splits be stripped of whitespace to make sure there is no extra whitespace being saved into variables?

@vcharmcaster
Copy link
Author

@swill @syed updated formatting. Let me know if i missed something.

@syed
Copy link
Contributor

syed commented Jun 28, 2016

@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.

@rohityadavcloud
Copy link
Member

@blueorangutan package

@blueorangutan
Copy link

@rhtyd a Trillian-Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link

Packaging result: ✖centos6 ✖centos7 ✖debian repo: http://packages.shapeblue.com/cloudstack/pr/1597

@blueorangutan
Copy link

Packaging result: ✖centos6 ✖centos7 ✖debian repo: http://packages.shapeblue.com/cloudstack/pr/1597
Job ID #66

@rohityadavcloud
Copy link
Member

@blueorangutan package

@blueorangutan
Copy link

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link

Packaging result: ✖centos6 ✖centos7 ✖debian. JID-212

@rohityadavcloud
Copy link
Member

@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];
Copy link
Contributor

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];
Copy link
Contributor

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]

GabrielBrascher pushed a commit to CLDIN/cloudstack that referenced this pull request Dec 10, 2018
GabrielBrascher pushed a commit to CLDIN/cloudstack that referenced this pull request Dec 10, 2018
GabrielBrascher pushed a commit to CLDIN/cloudstack that referenced this pull request Dec 10, 2018
GabrielBrascher pushed a commit to CLDIN/cloudstack that referenced this pull request Dec 10, 2018
GabrielBrascher pushed a commit to CLDIN/cloudstack that referenced this pull request Dec 10, 2018
GabrielBrascher pushed a commit to CLDIN/cloudstack that referenced this pull request Dec 11, 2018
GabrielBrascher pushed a commit to CLDIN/cloudstack that referenced this pull request Dec 11, 2018
@DaanHoogland
Copy link
Contributor

@vcharmcaster please rebase and re-open if still relevant

@GabrielBrascher is this still relevant?

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.

7 participants