Simon Harrer
2013-07-18 fbe265fa787e4be9cb63c6bae2ef30b9400d9afc
Fixes findbugs warning - dereferencing null in exception case
1 files modified
4 ■■■ changed files
src/main/java/com/gitblit/LogoServlet.java 4 ●●● patch | view | raw | blame | history
src/main/java/com/gitblit/LogoServlet.java
@@ -87,7 +87,9 @@
        } catch (Exception e) {
            e.printStackTrace();
        } finally {
            is.close();
            if(is != null) {
                is.close();
            }
        }
    }
}