jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juanpa...@apache.org
Subject svn commit: r1429580 - /incubator/jspwiki/trunk/src/org/apache/wiki/render/RenderingManager.java
Date Sun, 06 Jan 2013 19:47:09 GMT
Author: juanpablo
Date: Sun Jan  6 19:47:09 2013
New Revision: 1429580

URL: http://svn.apache.org/viewvc?rev=1429580&view=rev
Log:
use of org.apache.wiki.api.exceptions.WikiException

use of Class<?> instead of Class

Modified:
    incubator/jspwiki/trunk/src/org/apache/wiki/render/RenderingManager.java

Modified: incubator/jspwiki/trunk/src/org/apache/wiki/render/RenderingManager.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/org/apache/wiki/render/RenderingManager.java?rev=1429580&r1=1429579&r2=1429580&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/org/apache/wiki/render/RenderingManager.java (original)
+++ incubator/jspwiki/trunk/src/org/apache/wiki/render/RenderingManager.java Sun Jan  6 19:47:09
2013
@@ -30,7 +30,7 @@ import org.apache.log4j.Logger;
 import org.apache.wiki.TextUtil;
 import org.apache.wiki.WikiContext;
 import org.apache.wiki.WikiEngine;
-import org.apache.wiki.WikiException;
+import org.apache.wiki.api.exceptions.WikiException;
 import org.apache.wiki.event.WikiEvent;
 import org.apache.wiki.event.WikiEventListener;
 import org.apache.wiki.event.WikiEventUtils;
@@ -143,7 +143,7 @@ public class RenderingManager implements
         Class[] rendererParams = { WikiContext.class, WikiDocument.class };
         try
         {
-            Class c = Class.forName( renderImplName );
+            Class< ? > c = Class.forName( renderImplName );
             m_rendererConstructor = c.getConstructor( rendererParams );
         }
         catch( ClassNotFoundException e )



Mime
View raw message