sbailliez    02/01/08 12:49:11

  Modified:    src/main/org/apache/tools/bzip2 CBZip2OutputStream.java
  Log:
  Fix weird insertion.
  
  Revision  Changes    Path
  1.4       +4 -8      
jakarta-ant/src/main/org/apache/tools/bzip2/CBZip2OutputStream.java
  
  Index: CBZip2OutputStream.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-ant/src/main/org/apache/tools/bzip2/CBZip2OutputStream.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- CBZip2OutputStream.java   8 Jan 2002 20:14:46 -0000       1.3
  +++ CBZip2OutputStream.java   8 Jan 2002 20:49:11 -0000       1.4
  @@ -701,9 +701,8 @@
                     Calculate the cost of this group as coded
                     by each of the coding tables.
                   */
  -                for (t = 0; t < nGroups; t++) { {
  -                    cost[t
  -     }] = 0;
  +                for (t = 0; t < nGroups; t++) {
  +                    cost[t] = 0;
                   }
   
                   if (nGroups == 6) {
  @@ -797,8 +796,7 @@
                       pos[j] = tmp2;
                   }
                   pos[0] = tmp;
  -             
  -   }   selectorMtf[i] = (char) {j;
  +                selectorMtf[i] = (char)j;
               }
           }
   
  @@ -1248,9 +1246,7 @@
                           vv = runningOrder[i];
                           j = i;
                           while ((ftab[((runningOrder[j-h])+1) << 8]
  -                                - ftab[(runningOrder[j-h]) {
  -                                                                
  -                                                               } << 8]) >
  +                                - ftab[(runningOrder[j-h]) << 8]) >
                                  (ftab[((vv)+1) << 8] - ftab[(vv) << 8])) {
                               runningOrder[j] = runningOrder[j-h];
                               j = j - h;
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to