James Moger
2013-07-19 42e19382d28d06eda0ffbcda01fbfed5c3538dd8
Merge pull request #98 from simonharrer/close-resources-correctly

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();
            }
        }
    }
}