commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1125987 - in /incubator/ognl/trunk/src/main/java/org/apache/commons/ognl: BooleanExpression.java NodeType.java NumericExpression.java
Date Sun, 22 May 2011 15:28:33 GMT
Author: simonetripodi
Date: Sun May 22 15:28:33 2011
New Revision: 1125987

URL: http://svn.apache.org/viewvc?rev=1125987&view=rev
Log:
fixed generic Class raw type

Modified:
    incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/BooleanExpression.java
    incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NodeType.java
    incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NumericExpression.java

Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/BooleanExpression.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/BooleanExpression.java?rev=1125987&r1=1125986&r2=1125987&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/BooleanExpression.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/BooleanExpression.java Sun
May 22 15:28:33 2011
@@ -31,7 +31,7 @@ public abstract class BooleanExpression
     implements NodeType
 {
 
-    protected Class getterClass;
+    protected Class<?> getterClass;
 
     public BooleanExpression( int id )
     {
@@ -43,12 +43,18 @@ public abstract class BooleanExpression
         super( p, id );
     }
 
-    public Class getGetterClass()
+    /**
+     * {@inheritDoc}
+     */
+    public Class<?> getGetterClass()
     {
         return getterClass;
     }
 
-    public Class getSetterClass()
+    /**
+     * {@inheritDoc}
+     */
+    public Class<?> getSetterClass()
     {
         return null;
     }

Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NodeType.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NodeType.java?rev=1125987&r1=1125986&r2=1125987&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NodeType.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NodeType.java Sun May 22 15:28:33
2011
@@ -30,12 +30,12 @@ public interface NodeType
      * 
      * @return The type.
      */
-    Class getGetterClass();
+    Class<?> getGetterClass();
 
     /**
      * The type used to set the value - if any.
      * 
      * @return The type.
      */
-    Class getSetterClass();
+    Class<?> getSetterClass();
 }

Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NumericExpression.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NumericExpression.java?rev=1125987&r1=1125986&r2=1125987&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NumericExpression.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NumericExpression.java Sun
May 22 15:28:33 2011
@@ -28,7 +28,7 @@ public abstract class NumericExpression
     extends ExpressionNode
     implements NodeType
 {
-    protected Class _getterClass;
+    protected Class<?> _getterClass;
 
     public NumericExpression( int id )
     {
@@ -40,7 +40,10 @@ public abstract class NumericExpression
         super( p, id );
     }
 
-    public Class getGetterClass()
+    /**
+     * {@inheritDoc}
+     */
+    public Class<?> getGetterClass()
     {
         if ( _getterClass != null )
             return _getterClass;
@@ -48,7 +51,10 @@ public abstract class NumericExpression
         return Double.TYPE;
     }
 
-    public Class getSetterClass()
+    /**
+     * {@inheritDoc}
+     */
+    public Class<?> getSetterClass()
     {
         return null;
     }



Mime
View raw message