You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2006/10/30 23:56:54 UTC

svn commit: r469311 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ContentType.java

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.");
     }
   }