You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by sc...@apache.org on 2011/11/11 18:02:23 UTC

svn commit: r1200951 - /incubator/wookie/trunk/parser/java/src/org/apache/wookie/w3c/W3CWidgetFactory.java

Author: scottbw
Date: Fri Nov 11 17:02:23 2011
New Revision: 1200951

URL: http://svn.apache.org/viewvc?rev=1200951&view=rev
Log:
Removed this guard condition as its not possible to set the output directory to Null, and so this can't ever be tested.

Modified:
    incubator/wookie/trunk/parser/java/src/org/apache/wookie/w3c/W3CWidgetFactory.java

Modified: incubator/wookie/trunk/parser/java/src/org/apache/wookie/w3c/W3CWidgetFactory.java
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/parser/java/src/org/apache/wookie/w3c/W3CWidgetFactory.java?rev=1200951&r1=1200950&r2=1200951&view=diff
==============================================================================
--- incubator/wookie/trunk/parser/java/src/org/apache/wookie/w3c/W3CWidgetFactory.java (original)
+++ incubator/wookie/trunk/parser/java/src/org/apache/wookie/w3c/W3CWidgetFactory.java Fri Nov 11 17:02:23 2011
@@ -166,7 +166,6 @@ public class W3CWidgetFactory {
 	 * @throws BadManifestException if there is a problem with the config.xml manifest file in the package
 	 */
 	public W3CWidget parse(final File zipFile, String defaultIdentifier) throws Exception, BadWidgetZipFileException, BadManifestException{
-		if (outputDirectory == null) throw new Exception("No output directory has been set; use setOutputDirectory(File) to set the location to output widget files");
 		return processWidgetPackage(zipFile, defaultIdentifier);
 	}