From: David ‘Bombe’ Roden Date: Sat, 16 Mar 2013 00:50:31 +0000 (+0100) Subject: Break instead of returning. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=88a5b34430159c860ea07ec50aeedf181a910e24;p=sonitus.git Break instead of returning. --- diff --git a/src/main/java/net/pterodactylus/sonitus/data/Connection.java b/src/main/java/net/pterodactylus/sonitus/data/Connection.java index 762ba02..aa28710 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/Connection.java +++ b/src/main/java/net/pterodactylus/sonitus/data/Connection.java @@ -55,7 +55,7 @@ public abstract class Connection implements Runnable { byte[] buffer = source.get(bufferSize()); feed(buffer); } catch (IOException e) { - return; + break; } } }