coverity#1326178 Dereference after null check

and

coverity#1326179 Dereference after null check

Change-Id: I65099a52d8b275655c2de29848f364de0be06161
This commit is contained in:
Caolán McNamara
2015-11-11 20:39:48 +00:00
parent 2cdd406688
commit 4b918705f6

View File

@@ -53,16 +53,7 @@ public class AccessibilityTools {
XWindow xWindow = null;
try {
if (xModel == null) {
System.out.println("invalid model (==null)");
}
XController xController = xModel.getCurrentController();
if (xController == null) {
System.out.println("can't get controller from model");
}
XFrame xFrame = xController.getFrame();
if (xFrame == null) {