Change in ovirt-engine[master]: core: Remove useless object in "DeactivateStorageDomainWithO...

juan.hernandez at redhat.com juan.hernandez at redhat.com
Wed Sep 30 15:56:56 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: core: Remove useless object in "DeactivateStorageDomainWithOvfUpdateCommand"
......................................................................


core: Remove useless object in "DeactivateStorageDomainWithOvfUpdateCommand"

This is needed in order to avoid the following findbugs warning:

  Useless object created

  Our analysis shows that this object is useless. It's created and
  modified, but its value never go outside of the method or produce any
  side-effect. Either there is a mistake and object was intended to be

  This analysis rarely produces false-positives. Common false-positive
  cases include:

  - This object used to implicitly throw some obscure exception.
  - This object used as a stub to generalize the code.
  - This object used to hold strong references to weak/soft-referenced
  objects.

  Bug kind and pattern: UC - UC_USELESS_OBJECT

Change-Id: I0c8407fdeb14d00771d2b4f7c8781bd6a98306e8
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/DeactivateStorageDomainWithOvfUpdateCommand.java
1 file changed, 0 insertions(+), 2 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved; Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/46581
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0c8407fdeb14d00771d2b4f7c8781bd6a98306e8
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list