projects
/
sonitus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Break instead of returning.
[sonitus.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sonitus
/
data
/
Connection.java
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
(file)
--- 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
;
}
}
}