forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r476495 - /forrest/trunk/whiteboard/forrest2/core/org/apache/forrest/core/Controller.java
Date Sat, 18 Nov 2006 12:05:31 GMT
Author: rgardler
Date: Sat Nov 18 04:05:31 2006
New Revision: 476495

URL: http://svn.apache.org/viewvc?view=rev&rev=476495
Log:
Fix non initialised field error

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

Modified: forrest/trunk/whiteboard/forrest2/core/org/apache/forrest/core/Controller.java
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/core/org/apache/forrest/core/Controller.java?view=diff&rev=476495&r1=476494&r2=476495
==============================================================================
--- forrest/trunk/whiteboard/forrest2/core/org/apache/forrest/core/Controller.java (original)
+++ forrest/trunk/whiteboard/forrest2/core/org/apache/forrest/core/Controller.java Sat Nov
18 04:05:31 2006
@@ -224,7 +224,7 @@
 	 * @see org.apache.forrest.core.IController#getOutputPlugin(java.net.URI)
 	 */
 	public BaseOutputPlugin getOutputPlugin(final URI requestURI) {
-		BaseOutputPlugin plugin;
+		BaseOutputPlugin plugin = null;
 		final String[] names = this.context.getBeanNamesForType(plugin
 				.getClass());
 		for (int i = 0; i < names.length; i = i + 1) {



Mime
View raw message