Updated webbrowser to remove redundant check

This commit is contained in:
Omertron
2012-07-03 14:27:31 +00:00
parent 0bd864e3b0
commit 619432fd6f
@@ -113,7 +113,8 @@ public final class WebBrowser {
if (in != null) {
in.close();
}
if (cnx != null && cnx instanceof HttpURLConnection) {
if (cnx instanceof HttpURLConnection) {
((HttpURLConnection) cnx).disconnect();
}
}