coverity#1326178 Dereference after null check
and coverity#1326179 Dereference after null check Change-Id: I65099a52d8b275655c2de29848f364de0be06161
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user