Updated webbrowser to remove redundant check

master
Omertron 14 years ago
parent 0bd864e3b0
commit 619432fd6f

@ -113,7 +113,8 @@ public final class WebBrowser {
if (in != null) { if (in != null) {
in.close(); in.close();
} }
if (cnx != null && cnx instanceof HttpURLConnection) {
if (cnx instanceof HttpURLConnection) {
((HttpURLConnection) cnx).disconnect(); ((HttpURLConnection) cnx).disconnect();
} }
} }

Loading…
Cancel
Save