tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r449820 - /tomcat/tc6.0.x/trunk/java/javax/el/BeanELResolver.java
Date Mon, 25 Sep 2006 21:33:35 GMT
Author: remm
Date: Mon Sep 25 14:33:34 2006
New Revision: 449820

URL: http://svn.apache.org/viewvc?view=rev&rev=449820
Log:
- Fix isReadOnly method.
- Submitted by Stan Silvert.

Modified:
    tomcat/tc6.0.x/trunk/java/javax/el/BeanELResolver.java

Modified: tomcat/tc6.0.x/trunk/java/javax/el/BeanELResolver.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/javax/el/BeanELResolver.java?view=diff&rev=449820&r1=449819&r2=449820
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/el/BeanELResolver.java (original)
+++ tomcat/tc6.0.x/trunk/java/javax/el/BeanELResolver.java Mon Sep 25 14:33:34 2006
@@ -223,8 +223,8 @@
 		}
 
 		public boolean isReadOnly() {
-			return this.write != null
-					|| null == getMethod(type, descriptor.getWriteMethod());
+		    return this.write == null
+		        && (null == (this.write = getMethod(this.owner, descriptor.getWriteMethod())));
 		}
 
 		public Method write(ELContext ctx) {



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


Mime
View raw message