myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r469311 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ContentType.java
Date Mon, 30 Oct 2006 22:56:54 GMT
Author: bommel
Date: Mon Oct 30 14:56:54 2006
New Revision: 469311

URL: http://svn.apache.org/viewvc?view=rev&rev=469311
Log:
[TOBAGO-166] FileItemValidator that checks the size of the file and the content type of the
file

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ContentType.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ContentType.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ContentType.java?view=diff&rev=469311&r1=469310&r2=469311
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ContentType.java
(original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ContentType.java
Mon Oct 30 14:56:54 2006
@@ -37,7 +37,7 @@
       primaryType = values[0];
       subType = values[1];
     } else {
-      throw new IllegalArgumentException("ContentType '" + contentType + "' not recognized."
);
+      throw new IllegalArgumentException("ContentType '" + contentType + "' not recognized.");
     }
   }
 



Mime
View raw message