diff options
author | Erik Broes <erikbroes@grum.nl> | 2011-06-12 00:02:58 +0200 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2011-06-12 00:30:52 +0200 |
commit | 96b1b8a10cec88c724b83541aed6f87b188f5e14 (patch) | |
tree | 7058be20c6adb15cad2c823784b04340b1b1e44f /src/main/java/net/minecraft/server/NetworkManager.java | |
parent | 938db4de2d86d8cc05c258eeae2c43ef428588f3 (diff) | |
download | craftbukkit-96b1b8a10cec88c724b83541aed6f87b188f5e14.tar craftbukkit-96b1b8a10cec88c724b83541aed6f87b188f5e14.tar.gz craftbukkit-96b1b8a10cec88c724b83541aed6f87b188f5e14.tar.lz craftbukkit-96b1b8a10cec88c724b83541aed6f87b188f5e14.tar.xz craftbukkit-96b1b8a10cec88c724b83541aed6f87b188f5e14.zip |
Generic cleanup
Diffstat (limited to 'src/main/java/net/minecraft/server/NetworkManager.java')
-rw-r--r-- | src/main/java/net/minecraft/server/NetworkManager.java | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/main/java/net/minecraft/server/NetworkManager.java b/src/main/java/net/minecraft/server/NetworkManager.java index 04300731..00df2a0f 100644 --- a/src/main/java/net/minecraft/server/NetworkManager.java +++ b/src/main/java/net/minecraft/server/NetworkManager.java @@ -5,13 +5,11 @@ import java.io.DataInputStream; import java.io.DataOutputStream; import java.net.Socket; import java.net.SocketAddress; -import java.io.IOException; // CraftBukkit - instead of SocketException +import java.net.SocketException; import java.util.ArrayList; import java.util.Collections; import java.util.List; - -// CraftBukkit -import java.net.SocketException; +import java.io.IOException; // CraftBukkit public class NetworkManager { @@ -49,8 +47,7 @@ public class NetworkManager { // CraftBukkit start - IPv6 stack in Java on BSD/OSX doesn't support setTrafficClass try { socket.setTrafficClass(24); - } catch (SocketException e) { - } + } catch (SocketException e) {} // CraftBukkit end try { |