cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmen...@apache.org
Subject svn commit: r616559 - in /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/exp/parser: ASTAnd.java ASTOr.java ASTSubtract.java
Date Tue, 29 Jan 2008 23:29:40 GMT
Author: kmenard
Date: Tue Jan 29 15:29:29 2008
New Revision: 616559

URL: http://svn.apache.org/viewvc?rev=616559&view=rev
Log:
Use wildcards on public methods of public classes.

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/exp/parser/ASTAnd.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/exp/parser/ASTOr.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/exp/parser/ASTSubtract.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/exp/parser/ASTAnd.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/exp/parser/ASTAnd.java?rev=616559&r1=616558&r2=616559&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/exp/parser/ASTAnd.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/exp/parser/ASTAnd.java
Tue Jan 29 15:29:29 2008
@@ -53,10 +53,10 @@
         connectChildren();
     }
 
-    public ASTAnd(Collection<Node> nodes) {
+    public ASTAnd(Collection<? extends Node> nodes) {
         super(ExpressionParserTreeConstants.JJTAND);
         int len = nodes.size();
-        Iterator<Node> it = nodes.iterator();
+        Iterator<? extends Node> it = nodes.iterator();
         for (int i = 0; i < len; i++) {
             jjtAddChild(it.next(), i);
         }

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/exp/parser/ASTOr.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/exp/parser/ASTOr.java?rev=616559&r1=616558&r2=616559&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/exp/parser/ASTOr.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/exp/parser/ASTOr.java
Tue Jan 29 15:29:29 2008
@@ -49,10 +49,10 @@
         connectChildren();
     }
 
-    public ASTOr(Collection<Node> nodes) {
+    public ASTOr(Collection<? extends Node> nodes) {
         super(ExpressionParserTreeConstants.JJTOR);
         int len = nodes.size();
-        Iterator<Node> it = nodes.iterator();
+        Iterator<? extends Node> it = nodes.iterator();
         for (int i = 0; i < len; i++) {
             jjtAddChild(it.next(), i);
         }

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/exp/parser/ASTSubtract.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/exp/parser/ASTSubtract.java?rev=616559&r1=616558&r2=616559&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/exp/parser/ASTSubtract.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/exp/parser/ASTSubtract.java
Tue Jan 29 15:29:29 2008
@@ -51,10 +51,10 @@
         connectChildren();
     }
 
-    public ASTSubtract(Collection<Object> nodes) {
+    public ASTSubtract(Collection<?> nodes) {
         super(ExpressionParserTreeConstants.JJTSUBTRACT);
         int len = nodes.size();
-        Iterator<Object> it = nodes.iterator();
+        Iterator<?> it = nodes.iterator();
         for (int i = 0; i < len; i++) {
             jjtAddChild(wrapChild(it.next()), i);
         }



Mime
View raw message