Author: rahul
Date: Mon Feb  5 13:10:06 2007
New Revision: 503872

URL: http://svn.apache.org/viewvc?view=rev&rev=503872
Log:
Incorrect logic in MockApplication12.addELResolver(ELResolver resolver)
Patch by Doug Chasman <dchasman AT salesforce DOT com>
SHALE-405

Modified:
    
shale/framework/trunk/shale-test/src/main/java/org/apache/shale/test/mock/MockApplication12.java

Modified: 
shale/framework/trunk/shale-test/src/main/java/org/apache/shale/test/mock/MockApplication12.java
URL: 
http://svn.apache.org/viewvc/shale/framework/trunk/shale-test/src/main/java/org/apache/shale/test/mock/MockApplication12.java?view=diff&rev=503872&r1=503871&r2=503872
==============================================================================
--- 
shale/framework/trunk/shale-test/src/main/java/org/apache/shale/test/mock/MockApplication12.java
 (original)
+++ 
shale/framework/trunk/shale-test/src/main/java/org/apache/shale/test/mock/MockApplication12.java
 Mon Feb  5 13:10:06 2007
@@ -147,7 +147,7 @@
 
         // Simulate the restriction that you cannot add resolvers after
         // the first request has been processed.
-        if (resolver != null) {
+        if (this.resolver != null) {
             throw new IllegalStateException("Cannot add resolvers now");
         }
 


Reply via email to