Skip to content

Commit dd4e4f3

Browse files
author
Mark
committed
fixed synchronized
1 parent abc7955 commit dd4e4f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/arangodb/internal/velocystream/Connection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ private ByteBuffer readBytes(final int len) throws IOException {
205205
return ByteBuffer.wrap(buf).order(ByteOrder.LITTLE_ENDIAN);
206206
}
207207

208-
protected synchronized void readBytesIntoBuffer(final byte[] buf, final int off, final int len) throws IOException {
208+
protected void readBytesIntoBuffer(final byte[] buf, final int off, final int len) throws IOException {
209209
for (int readed = 0; readed < len;) {
210210
final int read = inputStream.read(buf, off + readed, len - readed);
211211
if (read == -1) {

0 commit comments

Comments
 (0)