Alissa Bonas has uploaded a new change for review.

Change subject: frontend: ignore in findbugs EventArgs unconfirmed cast errors
......................................................................

frontend: ignore in findbugs EventArgs unconfirmed cast errors

Ignore in findbugs errors related to casting EventArgs.
The casting is safe in this case, and a future refactoring
will make findbug warning resolved in any case.(RFE #1034844)
This is patch #9 following
http://gerrit.ovirt.org/#/c/22089/

Change-Id: Id2fdea041103c13530acd16c812f090942c05ce4
Signed-off-by: Alissa Bonas <[email protected]>
---
M frontend/webadmin/modules/gwt-common/exclude-filters.xml
M frontend/webadmin/modules/uicommonweb/exclude-filters.xml
2 files changed, 30 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/30/22230/1

diff --git a/frontend/webadmin/modules/gwt-common/exclude-filters.xml 
b/frontend/webadmin/modules/gwt-common/exclude-filters.xml
index 1b3fab1..d9309f1 100644
--- a/frontend/webadmin/modules/gwt-common/exclude-filters.xml
+++ b/frontend/webadmin/modules/gwt-common/exclude-filters.xml
@@ -297,4 +297,14 @@
       <Bug pattern="BC_UNCONFIRMED_CAST"/>
     </Match>
 
+    <Match>
+      <Class 
name="org.ovirt.engine.ui.common.uicommon.FrontendFailureEventListener" />
+      <Bug pattern="BC_UNCONFIRMED_CAST"/>
+    </Match>
+
+    <Match>
+      <Class name="org.ovirt.engine.ui.common.uicommon.RdpPluginImpl" />
+      <Bug pattern="BC_UNCONFIRMED_CAST"/>
+    </Match>
+
  </FindBugsFilter>
diff --git a/frontend/webadmin/modules/uicommonweb/exclude-filters.xml 
b/frontend/webadmin/modules/uicommonweb/exclude-filters.xml
index a92c1a2..4392178 100644
--- a/frontend/webadmin/modules/uicommonweb/exclude-filters.xml
+++ b/frontend/webadmin/modules/uicommonweb/exclude-filters.xml
@@ -45,4 +45,24 @@
       <Bug pattern="BC_UNCONFIRMED_CAST"/>
     </Match>
 
+    <Match>
+      <Class name="org.ovirt.engine.ui.uicommonweb.models.CommonModel" />
+      <Bug pattern="BC_UNCONFIRMED_CAST"/>
+    </Match>
+
+    <Match>
+      <Class 
name="org.ovirt.engine.ui.uicommonweb.models.hosts.AsyncIterator$1" />
+      <Bug pattern="BC_UNCONFIRMED_CAST"/>
+    </Match>
+
+    <Match>
+      <Class 
name="org.ovirt.engine.ui.uicommonweb.models.vms.ConsoleModelErrorEventListener"
 />
+      <Bug pattern="BC_UNCONFIRMED_CAST"/>
+    </Match>
+
+    <Match>
+      <Class 
name="org.ovirt.engine.ui.uicommonweb.models.vms.SpiceConsoleModel" />
+      <Bug pattern="BC_UNCONFIRMED_CAST"/>
+    </Match>
+
 </FindBugsFilter>


-- 
To view, visit http://gerrit.ovirt.org/22230
To unsubscribe, visit http://gerrit.ovirt.org/settings

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

Reply via email to