Skip to content

Conversation

@rsafonseca
Copy link
Contributor

…NG warnings in ConfigurationManagerImpl.java

…NG warnings in ConfigurationManagerImpl.java
@asfbot
Copy link

asfbot commented Jun 17, 2015

cloudstack-pull-requests #479 SUCCESS
This pull request looks good

Copy link
Member

Choose a reason for hiding this comment

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

should we also move the state to a variable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

shouldn't be necessary :)
findbugs is smart enough to check that the returned string is static and cannot be polluted by user input
that's only not the case for other variables that it can't track the origin

Copy link
Member

Choose a reason for hiding this comment

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

wondering why are we even using a prepareStatement here (and doing a fix to satisfy findbugs). Why dont we use createStatement() and execute sql directly?

@asfgit asfgit closed this in 931cb95 Jun 18, 2015
@karuturi
Copy link
Member

@bhaisaab did travis CI run on the updated PR?

@karuturi
Copy link
Member

@bhaisaab ignore my previous comment. looks like code change was in the other PR.

kishankavala pushed a commit to kishankavala/cloudstack that referenced this pull request Jun 25, 2015
…NG warnings in ConfigurationManagerImpl.java

Signed-off-by: Rohit Yadav <[email protected]>

This closes apache#476
yadvr pushed a commit that referenced this pull request Jan 20, 2021
weizhouapache pushed a commit to weizhouapache/cloudstack that referenced this pull request Sep 27, 2024
…update_time_fix

Host capacity calculation: use VM creation time if update time is null
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.

3 participants