forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r476501 - /forrest/trunk/whiteboard/forrest2/core/org/apache/forrest/cli/CLI.java
Date Sat, 18 Nov 2006 12:19:34 GMT
Author: rgardler
Date: Sat Nov 18 04:19:34 2006
New Revision: 476501

URL: http://svn.apache.org/viewvc?view=rev&rev=476501
Log:
Use IController

Modified:
    forrest/trunk/whiteboard/forrest2/core/org/apache/forrest/cli/CLI.java

Modified: forrest/trunk/whiteboard/forrest2/core/org/apache/forrest/cli/CLI.java
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/core/org/apache/forrest/cli/CLI.java?view=diff&rev=476501&r1=476500&r2=476501
==============================================================================
--- forrest/trunk/whiteboard/forrest2/core/org/apache/forrest/cli/CLI.java (original)
+++ forrest/trunk/whiteboard/forrest2/core/org/apache/forrest/cli/CLI.java Sat Nov 18 04:19:34
2006
@@ -21,6 +21,7 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.forrest.core.Controller;
+import org.apache.forrest.core.IController;
 import org.apache.forrest.core.document.AbstractOutputDocument;
 
 /**
@@ -46,7 +47,7 @@
 			AbstractOutputDocument doc = null;
 			System.out.println("\n Processing request for " + args[0]);
 			final URI requestURI = new URI(args[0]);
-			final Controller controller = new Controller();
+			final IController controller = new Controller();
 			doc = controller.getOutputDocument(requestURI);
 
 			System.out.println("\n Resulting document for request " + args[0]



Mime
View raw message