amarkevich commented on a change in pull request #762:
URL: https://github.com/apache/cxf/pull/762#discussion_r604424499
##########
File path: core/src/main/java/org/apache/cxf/io/ReaderInputStream.java
##########
@@ -120,9 +119,9 @@ public ReaderInputStream(Reader reader, CharsetEncoder
encoder, int bufferSize)
this.reader = reader;
this.encoder = encoder;
this.encoderIn = CharBuffer.allocate(bufferSize);
- ((Buffer)this.encoderIn).flip();
+ (this.encoderIn).flip();
Review comment:
flip() do nothing for new allocated buffer
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]