commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ima...@apache.org
Subject svn commit: r496729 - /jakarta/commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs/provider/mime/MimeFileObject.java
Date Tue, 16 Jan 2007 15:31:08 GMT
Author: imario
Date: Tue Jan 16 07:31:07 2007
New Revision: 496729

URL: http://svn.apache.org/viewvc?view=rev&rev=496729
Log:
readded mutlipart to types with children

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

Modified: jakarta/commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs/provider/mime/MimeFileObject.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs/provider/mime/MimeFileObject.java?view=diff&rev=496729&r1=496728&r2=496729
==============================================================================
--- jakarta/commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs/provider/mime/MimeFileObject.java
(original)
+++ jakarta/commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs/provider/mime/MimeFileObject.java
Tue Jan 16 07:31:07 2007
@@ -142,7 +142,7 @@
 			return FileType.FILE;
 		}
 		*/
-		if (part.getContent() != null && part.getContent() instanceof Part)
+		if (isMultipart() || (part.getContent() != null && part.getContent() instanceof
Part))
 		{
 			// we have both
 			return FileType.FILE_OR_FOLDER;



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message