Replace null returns from update checks with ""

This commit is contained in:
Chicken-Bomes committed 2014-07-02 18:55:05 +10:00
1 parent e373ce7860
commit 7a1420e698
1 file changed
+1
@@ -45,6 +45,7 @@ public class CCUpdateChecker
BufferedReader read = new BufferedReader(new InputStreamReader(conn.getInputStream()));
String ret = read.readLine();
read.close();
if(ret == null) ret = "";
handler.apply(ret);
} catch (SocketTimeoutException ignored) {}
catch (UnknownHostException ignored) {}