/[classpath]/gjdoc/src/gnu/classpath/tools/NotifyingInputStreamReader.java
ViewVC logotype

Diff of /gjdoc/src/gnu/classpath/tools/NotifyingInputStreamReader.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by julian, Fri Feb 11 16:07:50 2005 UTC revision 1.4 by julian, Mon Feb 14 23:05:31 2005 UTC
# Line 274  public class NotifyingInputStreamReader Line 274  public class NotifyingInputStreamReader
274           }           }
275           else if (coderResult.isUnderflow()) {           else if (coderResult.isUnderflow()) {
276              if (!allInputConsumed) {              if (!allInputConsumed) {
277                 int nRemainingBytes                 int nRemainingBytes = 0;
278                    = Math.max(0, byteBuffer.limit() - byteBuffer.position());                 if (byteBuffer.position() > 0) {
279                      nRemainingBytes = Math.max(0, byteBuffer.limit() - byteBuffer.position());
280                   }
281                 if (nRemainingBytes > 0) {                 if (nRemainingBytes > 0) {
282                    byteBuffer.get(readBuffer, 0, nRemainingBytes);                    byteBuffer.get(readBuffer, 0, nRemainingBytes);
283                 }                 }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26