diff --git a/connectors/netty-connector/src/main/java/org/glassfish/jersey/netty/connector/internal/NettyInputStream.java b/connectors/netty-connector/src/main/java/org/glassfish/jersey/netty/connector/internal/NettyInputStream.java index 9591a84989e..b369f125e9c 100644 --- a/connectors/netty-connector/src/main/java/org/glassfish/jersey/netty/connector/internal/NettyInputStream.java +++ b/connectors/netty-connector/src/main/java/org/glassfish/jersey/netty/connector/internal/NettyInputStream.java @@ -72,7 +72,7 @@ private interface ISReader { int readFrom(InputStream take) throws IOException; } - private int readInternal(ISReader takeRead) throws IOException { + private int readInternal(ISReader isReader) throws IOException { if (end) { return -1; } @@ -85,7 +85,7 @@ private int readInternal(ISReader takeRead) throws IOException { return -1; } - int read = takeRead.readFrom(take); + int read = isReader.readFrom(take); if (take.available() > 0) { isList.addFirst(take);