cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r605961 - /cocoon/trunk/core/cocoon-expression-language/cocoon-expression-language-impl/src/main/java/org/apache/cocoon/template/expression/JXTExpression.java
Date Thu, 20 Dec 2007 15:15:35 GMT
Author: vgritsenko
Date: Thu Dec 20 07:15:35 2007
New Revision: 605961

URL: http://svn.apache.org/viewvc?rev=605961&view=rev
Log:
add FIXME

Modified:
    cocoon/trunk/core/cocoon-expression-language/cocoon-expression-language-impl/src/main/java/org/apache/cocoon/template/expression/JXTExpression.java

Modified: cocoon/trunk/core/cocoon-expression-language/cocoon-expression-language-impl/src/main/java/org/apache/cocoon/template/expression/JXTExpression.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-expression-language/cocoon-expression-language-impl/src/main/java/org/apache/cocoon/template/expression/JXTExpression.java?rev=605961&r1=605960&r2=605961&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-expression-language/cocoon-expression-language-impl/src/main/java/org/apache/cocoon/template/expression/JXTExpression.java
(original)
+++ cocoon/trunk/core/cocoon-expression-language/cocoon-expression-language-impl/src/main/java/org/apache/cocoon/template/expression/JXTExpression.java
Thu Dec 20 07:15:35 2007
@@ -123,10 +123,13 @@
         return getRaw();
     }
 
-    public Boolean getBooleanValue(ObjectModel objectModel)
-        throws Exception {
+    //
+    // FIXME getXXXValue methods are all inconsistent. Is there a reason for this?
+    //
+
+    public Boolean getBooleanValue(ObjectModel objectModel) throws Exception {
         Object res = getValue(objectModel);
-        return res instanceof Boolean ? (Boolean)res : null;
+        return res instanceof Boolean ? (Boolean) res : null;
     }
 
     public String getStringValue(ObjectModel objectModel) throws Exception {



Mime
View raw message