commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1374990 - in /commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs2/provider: mime/MimeFileObject.java smb/SmbFileObject.java
Date Mon, 20 Aug 2012 12:24:15 GMT
Author: ggregory
Date: Mon Aug 20 12:24:14 2012
New Revision: 1374990

URL: http://svn.apache.org/viewvc?rev=1374990&view=rev
Log:
Fix generics warnings and try to resolve Gump compilation problems.

Modified:
    commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs2/provider/mime/MimeFileObject.java
    commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs2/provider/smb/SmbFileObject.java

Modified: commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs2/provider/mime/MimeFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs2/provider/mime/MimeFileObject.java?rev=1374990&r1=1374989&r2=1374990&view=diff
==============================================================================
--- commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs2/provider/mime/MimeFileObject.java
(original)
+++ commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs2/provider/mime/MimeFileObject.java
Mon Aug 20 12:24:14 2012
@@ -38,7 +38,6 @@ import org.apache.commons.vfs2.FileType;
 import org.apache.commons.vfs2.NameScope;
 import org.apache.commons.vfs2.provider.AbstractFileName;
 import org.apache.commons.vfs2.provider.AbstractFileObject;
-import org.apache.commons.vfs2.provider.AbstractFileSystem;
 import org.apache.commons.vfs2.provider.UriParser;
 import org.apache.commons.vfs2.util.FileObjectUtils;
 
@@ -46,7 +45,7 @@ import org.apache.commons.vfs2.util.File
  * A part of a MIME message.
  */
 public class MimeFileObject
-    extends AbstractFileObject
+    extends AbstractFileObject<MimeFileSystem>
     implements FileObject
 {
     private Part part;
@@ -54,7 +53,7 @@ public class MimeFileObject
 
     protected MimeFileObject(final AbstractFileName name,
                             final Part part,
-                            final AbstractFileSystem fileSystem) throws FileSystemException
+                            final MimeFileSystem fileSystem) throws FileSystemException
     {
         super(name, fileSystem);
         setPart(part);

Modified: commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs2/provider/smb/SmbFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs2/provider/smb/SmbFileObject.java?rev=1374990&r1=1374989&r2=1374990&view=diff
==============================================================================
--- commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs2/provider/smb/SmbFileObject.java
(original)
+++ commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs2/provider/smb/SmbFileObject.java
Mon Aug 20 12:24:14 2012
@@ -43,8 +43,7 @@ import org.apache.commons.vfs2.util.User
  * A file in an SMB file system.
  */
 public class SmbFileObject
-    extends AbstractFileObject
-    implements FileObject
+    extends AbstractFileObject<SmbFileSystem>
 {
     // private final String fileName;
     private SmbFile file;



Mime
View raw message