Greg Sheremeta has uploaded a new change for review.

Change subject: userportal: fix Coverity issue in QuotaProgressBar
......................................................................

userportal: fix Coverity issue in QuotaProgressBar

fix Coverity issue in QuotaProgressBar
* 1289475 Explicit null dereferenced
  A null pointer exception will occur.
  In 
org.​ovirt.​engine.​ui.​userportal.​widget.​QuotaProgressBar.​QuotaProgressBar

Change-Id: I05cbb9efd0f4df4e86e73401d7dcdb5d6250cbd3
Signed-off-by: Greg Sheremeta <[email protected]>
---
M 
frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/widget/QuotaProgressBar.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/08/39308/1

diff --git 
a/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/widget/QuotaProgressBar.java
 
b/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/widget/QuotaProgressBar.java
index 82bbffc..3c1b9f1 100644
--- 
a/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/widget/QuotaProgressBar.java
+++ 
b/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/widget/QuotaProgressBar.java
@@ -18,8 +18,8 @@
     private final static ApplicationConstants constants = 
AssetProvider.getConstants();
 
     public QuotaProgressBar(QuotaUsagePerUser quotaUsagePerUser) {
-        this();
         setQuotaUsagePerUser(quotaUsagePerUser);
+        tooltip = new WidgetTooltip(this);
     }
 
     public QuotaProgressBar() {


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I05cbb9efd0f4df4e86e73401d7dcdb5d6250cbd3
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Greg Sheremeta <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to