commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r755098 - in /commons/proper/vfs/trunk/core/src: main/java/org/apache/commons/vfs/ main/java/org/apache/commons/vfs/provider/ main/java/org/apache/commons/vfs/provider/bzip2/ main/java/org/apache/commons/vfs/provider/ram/ main/java/org/apac...
Date Tue, 17 Mar 2009 02:58:39 GMT
Author: sebb
Date: Tue Mar 17 02:58:39 2009
New Revision: 755098

URL: http://svn.apache.org/viewvc?rev=755098&view=rev
Log:
Javadoc corrections; remove extraneous semi-colons

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileSystemException.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/AbstractFileObject.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/bzip2/CBZip2OutputStream.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileOutputStream.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileSystem.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarInputStream.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs/provider/ram/test/CustomRamProviderTest.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs/test/AbstractTestSuite.java

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileSystemException.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileSystemException.java?rev=755098&r1=755097&r2=755098&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileSystemException.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileSystemException.java
Tue Mar 17 02:58:39 2009
@@ -94,7 +94,7 @@
      * Constructs exception with the specified detail message.
      *
      * @param code the error code of the message.
-     * @param info array of complementary info (context).
+     * @param throwable the original cause
      */
     public FileSystemException(final String code, final Throwable throwable)
     {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/AbstractFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/AbstractFileObject.java?rev=755098&r1=755097&r2=755098&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/AbstractFileObject.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/AbstractFileObject.java
Tue Mar 17 02:58:39 2009
@@ -549,7 +549,7 @@
             // Locate the parent of this file
             if (parent == null)
             {
-                parent = (FileObject) fs.resolveFile(name.getParent());
+                parent = fs.resolveFile(name.getParent());
             }
         }
         return parent;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/bzip2/CBZip2OutputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/bzip2/CBZip2OutputStream.java?rev=755098&r1=755097&r2=755098&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/bzip2/CBZip2OutputStream.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/bzip2/CBZip2OutputStream.java
Tue Mar 17 02:58:39 2009
@@ -574,7 +574,6 @@
                 break;
             }
         }
-        ;
 
         if( m_origPtr == -1 )
         {
@@ -790,13 +789,12 @@
                 i1 -= m_last;
                 i1--;
             }
-            ;
+
             if( i2 > m_last )
             {
                 i2 -= m_last;
                 i2--;
             }
-            ;
 
             k -= 4;
             m_workDone++;
@@ -846,7 +844,7 @@
                 tmp = yy[ j ];
                 yy[ j ] = tmp2;
             }
-            ;
+
             yy[ 0 ] = tmp;
 
             if( j == 0 )
@@ -873,14 +871,14 @@
                                 m_mtfFreq[ RUNB ]++;
                                 break;
                         }
-                        ;
+
                         if( zPend < 2 )
                         {
                             break;
                         }
                         zPend = ( zPend - 2 ) / 2;
                     }
-                    ;
+
                     zPend = 0;
                 }
                 m_szptr[ wr ] = (short)( j + 1 );
@@ -940,7 +938,7 @@
                     vec++;
                 }
             }
-            ;
+
             vec <<= 1;
         }
     }
@@ -1322,7 +1320,7 @@
                         unLo++;
                         continue;
                     }
-                    ;
+
                     if( n > 0 )
                     {
                         break;
@@ -1346,7 +1344,7 @@
                         unHi--;
                         continue;
                     }
-                    ;
+
                     if( n < 0 )
                     {
                         break;
@@ -1643,7 +1641,7 @@
                         bt = t;
                     }
                 }
-                ;
+
                 fave[ bt ]++;
                 m_selector[ nSelectors ] = (char)bt;
                 nSelectors++;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileOutputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileOutputStream.java?rev=755098&r1=755097&r2=755098&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileOutputStream.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileOutputStream.java
Tue Mar 17 02:58:39 2009
@@ -42,7 +42,7 @@
 	private IOException exc;
 
 	/**
-	 * @param mode
+	 * @param file
 	 */
 	public RamFileOutputStream(RamFileObject file)
 	{

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileSystem.java?rev=755098&r1=755097&r2=755098&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileSystem.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileSystem.java
Tue Mar 17 02:58:39 2009
@@ -269,7 +269,6 @@
 					catch (IOException e)
 					{
 						// ignore on close exception
-						;
 					}
 				}
 			}

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarInputStream.java?rev=755098&r1=755097&r2=755098&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarInputStream.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarInputStream.java
Tue Mar 17 02:58:39 2009
@@ -307,7 +307,7 @@
         }
         else
         {
-            return (int)m_oneBuf[ 0 ];
+            return m_oneBuf[ 0 ];
         }
     }
 

Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs/provider/ram/test/CustomRamProviderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs/provider/ram/test/CustomRamProviderTest.java?rev=755098&r1=755097&r2=755098&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs/provider/ram/test/CustomRamProviderTest.java
(original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs/provider/ram/test/CustomRamProviderTest.java
Tue Mar 17 02:58:39 2009
@@ -102,7 +102,6 @@
 		catch (FileSystemException e)
 		{
 			// exception awaited
-			;
 		}
 
 	}

Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs/test/AbstractTestSuite.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs/test/AbstractTestSuite.java?rev=755098&r1=755097&r2=755098&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs/test/AbstractTestSuite.java
(original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs/test/AbstractTestSuite.java
Tue Mar 17 02:58:39 2009
@@ -265,7 +265,7 @@
         }
         catch (NoSuchFieldException e)
         {
-            ;
+            // ignored
         }
 
         for (int iter = 0; iter < threadSnapshot.length; iter++)



Mime
View raw message