You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by st...@apache.org on 2004/03/16 11:01:18 UTC

cvs commit: ws-axis/java/src/org/apache/axis/attachments BoundaryDelimitedStream.java

stevel      2004/03/16 02:01:18

  Modified:    java/src/org/apache/axis/attachments
                        BoundaryDelimitedStream.java
  Log:
  casting bytes to int with the sign right. Patch from Eberhard Schulte
  
  Revision  Changes    Path
  1.30      +1 -1      ws-axis/java/src/org/apache/axis/attachments/BoundaryDelimitedStream.java
  
  Index: BoundaryDelimitedStream.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/attachments/BoundaryDelimitedStream.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- BoundaryDelimitedStream.java	25 Feb 2004 14:02:30 -0000	1.29
  +++ BoundaryDelimitedStream.java	16 Mar 2004 10:01:18 -0000	1.30
  @@ -372,7 +372,7 @@
           if (read < 0) {
               return -1;
           } else {
  -            return b[0];
  +            return b[0]&0xff;
           }
       }