Kaydet (Commit) 352b580e authored tarafından rbuj's avatar rbuj Kaydeden (comit) Noel Grandin

javaunohelper: warning: unchecked cast

Change-Id: I7c47e3a8657ec2368543088743879085878d78fb
Reviewed-on: https://gerrit.libreoffice.org/11444Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 051b29e1
......@@ -212,22 +212,22 @@ public final class PropertySetMixin {
if ((p.Attributes & PropertyAttribute.CONSTRAINED) != 0) {
ArrayList<XVetoableChangeListener> o = vetoListeners.get(propertyName);
if (o != null) {
specificVeto = (ArrayList<XVetoableChangeListener>) o.clone();
specificVeto = new ArrayList<XVetoableChangeListener>(o);
}
o = vetoListeners.get("");
if (o != null) {
unspecificVeto = (ArrayList<XVetoableChangeListener>) o.clone();
unspecificVeto = new ArrayList<XVetoableChangeListener>(o);
}
}
if ((p.Attributes & PropertyAttribute.BOUND) != 0) {
// assert bound != null;
ArrayList<XPropertyChangeListener> o = boundListeners.get(propertyName);
if (o != null) {
bound.specificListeners = (ArrayList<XPropertyChangeListener>) o.clone();
bound.specificListeners = new ArrayList<XPropertyChangeListener>(o);
}
o = boundListeners.get("");
if (o != null) {
bound.unspecificListeners = (ArrayList<XPropertyChangeListener>) o.clone();
bound.unspecificListeners = new ArrayList<XPropertyChangeListener>(o);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment