Commits

Anonymous committed d9c1ea3

Backport of Problem Report page within devMode
o ups, fixed wrong imports
o removed generics
Issue number:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@2691573baa09-0c28-0410-bef9-dab3c582ae83

  • Participants
  • Parent commits 9977ac0

Comments (0)

Files changed (1)

src/java/com/opensymphony/webwork/dispatcher/DispatcherUtils.java

 import com.opensymphony.xwork.interceptor.component.ComponentInterceptor;
 import com.opensymphony.xwork.interceptor.component.ComponentManager;
 import com.opensymphony.xwork.util.*;
-import com.opensymphony.xwork2.util.location.Location;
-import com.opensymphony.xwork2.util.location.LocationUtils;
+import com.opensymphony.xwork.util.location.Location;
+import com.opensymphony.xwork.util.location.LocationUtils;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
                 freemarker.template.Configuration config = FreemarkerManager.getInstance().getConfiguration(ctx);
                 Template template = config.getTemplate("/com/opensymphony/webwork/dispatcher/error.ftl");
 
-                List<Throwable> chain = new ArrayList<Throwable>();
+                List chain = new ArrayList();
                 Throwable cur = e;
                 chain.add(cur);
                 while ((cur = cur.getCause()) != null) {
                     chain.add(cur);
                 }
 
-                HashMap<String,Object> data = new HashMap<String,Object>();
+                HashMap data = new HashMap();
                 data.put("exception", e);
                 data.put("unknown", Location.UNKNOWN);
                 data.put("chain", chain);