mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-10-03 18:07:26 +02:00
Fix 'reached end of stream for null'
This commit is contained in:
parent
aa353d44e6
commit
2603c3ae2c
@ -14,8 +14,8 @@ public class EmptySocket extends Socket {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public OutputStream getOutputStream() {
|
public OutputStream getOutputStream() {
|
||||||
return new ByteArrayOutputStream(1);
|
return new ByteArrayOutputStream(10);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final byte[] EMPTY = new byte[0];
|
private static final byte[] EMPTY = new byte[20];
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user