java: remove redundant null checks

Change-Id: Ia42e5ed715fbd3f5b84029a9844da55f307c6260
This commit is contained in:
Noel Grandin
2014-08-05 13:19:44 +02:00
parent 8f020a45fa
commit b6a83e99c8
15 changed files with 18 additions and 42 deletions

View File

@@ -363,10 +363,7 @@ public class ScriptEditorForBeanShell
if (fos != null) {
try {
fos.flush();
if ( fos != null )
{
fos.close();
}
fos.close();
}
catch (IOException ignore) {
}