Kaydet (Commit) 93a85df2 authored tarafından Noel Grandin's avatar Noel Grandin

java: simplify if statement

found by CodePro

Change-Id: I5f7e5b75b0345a1d917638e57a7d8ad60efb1475
üst 566f16a2
...@@ -191,11 +191,7 @@ public class XMLSettingsImporter extends TestCase { ...@@ -191,11 +191,7 @@ public class XMLSettingsImporter extends TestCase {
} }
logF.println("Property \"IsLayerMode\" after import is " logF.println("Property \"IsLayerMode\" after import is "
+ propValue); + propValue);
if ( propValue.booleanValue() ) { return propValue.booleanValue();
return true;
} else {
return false;
}
} }
}); });
......
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