Browse Source

Fixes findbugs warning - dereferencing null in exception case

tags/v1.3.1
Simon Harrer 11 years ago
parent
commit
fbe265fa78
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/main/java/com/gitblit/LogoServlet.java

+ 3
- 1
src/main/java/com/gitblit/LogoServlet.java View File

@@ -87,7 +87,9 @@ public class LogoServlet extends HttpServlet {
} catch (Exception e) {
e.printStackTrace();
} finally {
is.close();
if(is != null) {
is.close();
}
}
}
}

Loading…
Cancel
Save