axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/attachments BoundaryDelimitedStream.java
Date Tue, 16 Mar 2004 10:01:18 GMT
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;
           }
       }
   
  
  
  

Mime
View raw message