Skip to content

findbugs: move assert to a place where it still makes sense - #515

Closed
DaanHoogland wants to merge 2 commits into
apache:masterfrom
DaanHoogland:findbugs-RCN
Closed

DaanHoogland wants to merge 2 commits into
apache:masterfrom
DaanHoogland:findbugs-RCN

Conversation

@DaanHoogland

Copy link
Copy Markdown
Contributor

No description provided.

@asfbot

asfbot commented Jun 23, 2015

Copy link
Copy Markdown

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

@rsafonseca

Copy link
Copy Markdown
Contributor

IMO, asserts should be completely removed in most classes.
It's mostly used in early development stages and ACS has been production
grade for quite some time.
The assert statement won't even run on production, because it's disabled by
default in the JVM in production runtime, and we're of course not enabling
those when JVM starts... even if we did, it would just kill the JVM, which
is only something useful in very limited scenarios, which is not the case
for ACS.. proper way is always check and properly handle, not throw an
assert that would kill the JVM.
Just my .02c

On Tue, Jun 23, 2015 at 10:41 PM, asfbot notifications@github.com wrote:

cloudstack-pull-requests #635
https://builds.apache.org/job/cloudstack-pull-requests/635/ SUCCESS
This pull request looks good

—
Reply to this email directly or view it on GitHub
#515 (comment).

@asfbot

asfbot commented Jun 23, 2015

Copy link
Copy Markdown

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

@asfgit asfgit closed this in 8a99df7 Jun 23, 2015
kishankavala pushed a commit to kishankavala/cloudstack that referenced this pull request Jun 25, 2015
Signed-off-by: Daan Hoogland <daan@onecht.net>

This closes apache#515
@DaanHoogland
DaanHoogland deleted the findbugs-RCN branch August 3, 2015 20:43
yadvr pushed a commit that referenced this pull request Jan 20, 2021
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
shwstppr pushed a commit to shapeblue/cloudstack that referenced this pull request Jan 27, 2025
…nance (from it's last source location) (apache#515)

* Allow config drive deletion of migrate VM, on host maintenance (from it's last source location - host cache/primary/secondary storage)

* system vms doesn't require config drive data configuration
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