tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1499846 - /tomcat/trunk/test/javax/el/TesterBeanNameResolver.java
Date Thu, 04 Jul 2013 19:32:06 GMT
Author: markt
Date: Thu Jul  4 19:32:05 2013
New Revision: 1499846

URL: http://svn.apache.org/r1499846
Log:
Fix copy/paste error

Modified:
    tomcat/trunk/test/javax/el/TesterBeanNameResolver.java

Modified: tomcat/trunk/test/javax/el/TesterBeanNameResolver.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/javax/el/TesterBeanNameResolver.java?rev=1499846&r1=1499845&r2=1499846&view=diff
==============================================================================
--- tomcat/trunk/test/javax/el/TesterBeanNameResolver.java (original)
+++ tomcat/trunk/test/javax/el/TesterBeanNameResolver.java Thu Jul  4 19:32:05 2013
@@ -22,7 +22,7 @@ import java.util.Map;
 public class TesterBeanNameResolver extends BeanNameResolver {
 
     public static final String EXCEPTION_TRIGGER_NAME = "exception";
-    public static final String THROWABLE_TRIGGER_NAME = "exception";
+    public static final String THROWABLE_TRIGGER_NAME = "throwable";
 
     private Map<String,Object> beans = new HashMap<>();
     private boolean allowCreate = true;
@@ -30,6 +30,7 @@ public class TesterBeanNameResolver exte
 
     public TesterBeanNameResolver() {
         beans.put(EXCEPTION_TRIGGER_NAME, new Object());
+        beans.put(THROWABLE_TRIGGER_NAME, new Object());
     }
 
     @Override



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message