commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r674216 - in /commons/sandbox/compress/trunk/src/java/org/apache/commons/compress: AbstractCompressor.java compressors/bzip2/BZip2OutputStream.java
Date Sat, 05 Jul 2008 18:16:11 GMT
Author: bayard
Date: Sat Jul  5 11:16:11 2008
New Revision: 674216

URL: http://svn.apache.org/viewvc?rev=674216&view=rev
Log:
Removing empty statements caused by unnecessary semi-colons - as reported by PMD

Modified:
    commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/AbstractCompressor.java
    commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/compressors/bzip2/BZip2OutputStream.java

Modified: commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/AbstractCompressor.java
URL: http://svn.apache.org/viewvc/commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/AbstractCompressor.java?rev=674216&r1=674215&r2=674216&view=diff
==============================================================================
--- commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/AbstractCompressor.java
(original)
+++ commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/AbstractCompressor.java
Sat Jul  5 11:16:11 2008
@@ -53,7 +53,7 @@
 		FileOutputStream outputStream = null;
 		FileOutputStream tempFileOutputStream = null;
 		try {
-			File temp = File.createTempFile("commons_","jkt");;
+			File temp = File.createTempFile("commons_","jkt");
 			tempFileOutputStream = new FileOutputStream(temp);
 			compressTo(input, tempFileOutputStream);
 			return new FileInputStream(temp);

Modified: commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/compressors/bzip2/BZip2OutputStream.java
URL: http://svn.apache.org/viewvc/commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/compressors/bzip2/BZip2OutputStream.java?rev=674216&r1=674215&r2=674216&view=diff
==============================================================================
--- commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/compressors/bzip2/BZip2OutputStream.java
(original)
+++ commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/compressors/bzip2/BZip2OutputStream.java
Sat Jul  5 11:16:11 2008
@@ -577,7 +577,7 @@
                 break;
             }
         }
-        ;
+
 
         if( m_origPtr == -1 )
         {
@@ -793,13 +793,13 @@
                 i1 -= m_last;
                 i1--;
             }
-            ;
+
             if( i2 > m_last )
             {
                 i2 -= m_last;
                 i2--;
             }
-            ;
+
 
             k -= 4;
             m_workDone++;
@@ -849,7 +849,7 @@
                 tmp = yy[ j ];
                 yy[ j ] = tmp2;
             }
-            ;
+
             yy[ 0 ] = tmp;
 
             if( j == 0 )
@@ -876,14 +876,14 @@
                                 m_mtfFreq[ RUNB ]++;
                                 break;
                         }
-                        ;
+
                         if( zPend < 2 )
                         {
                             break;
                         }
                         zPend = ( zPend - 2 ) / 2;
                     }
-                    ;
+
                     zPend = 0;
                 }
                 m_szptr[ wr ] = (short)( j + 1 );
@@ -943,7 +943,7 @@
                     vec++;
                 }
             }
-            ;
+
             vec <<= 1;
         }
     }
@@ -1325,7 +1325,7 @@
                         unLo++;
                         continue;
                     }
-                    ;
+
                     if( n > 0 )
                     {
                         break;
@@ -1349,7 +1349,7 @@
                         unHi--;
                         continue;
                     }
-                    ;
+
                     if( n < 0 )
                     {
                         break;
@@ -1646,7 +1646,7 @@
                         bt = t;
                     }
                 }
-                ;
+
                 fave[ bt ]++;
                 m_selector[ nSelectors ] = (char)bt;
                 nSelectors++;



Mime
View raw message