cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r652880 - in /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query: BaseQueryMetadata.java ProcedureQuery.java SQLTemplate.java
Date Fri, 02 May 2008 19:43:36 GMT
Author: aadamchik
Date: Fri May  2 12:43:36 2008
New Revision: 652880

URL: http://svn.apache.org/viewvc?rev=652880&view=rev
Log:
vararg

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/BaseQueryMetadata.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/ProcedureQuery.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/SQLTemplate.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/BaseQueryMetadata.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/BaseQueryMetadata.java?rev=652880&r1=652879&r2=652880&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/BaseQueryMetadata.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/BaseQueryMetadata.java
Fri May  2 12:43:36 2008
@@ -409,7 +409,7 @@
     /**
      * @since 3.0
      */
-    void setCacheGroups(String[] groups) {
+    void setCacheGroups(String... groups) {
         this.cacheGroups = groups;
     }
 

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/ProcedureQuery.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/ProcedureQuery.java?rev=652880&r1=652879&r2=652880&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/ProcedureQuery.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/ProcedureQuery.java
Fri May  2 12:43:36 2008
@@ -325,8 +325,8 @@
     /**
      * @since 3.0
      */
-    public void setCacheGroups(String[] cachGroups) {
-        this.metaData.setCacheGroups(cachGroups);
+    public void setCacheGroups(String... cacheGroups) {
+        this.metaData.setCacheGroups(cacheGroups);
     }
 
     public int getFetchLimit() {

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/SQLTemplate.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/SQLTemplate.java?rev=652880&r1=652879&r2=652880&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/SQLTemplate.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/SQLTemplate.java
Fri May  2 12:43:36 2008
@@ -386,8 +386,8 @@
     /**
      * @since 3.0
      */
-    public void setCacheGroups(String[] cachGroups) {
-        this.metaData.setCacheGroups(cachGroups);
+    public void setCacheGroups(String... cacheGroups) {
+        this.metaData.setCacheGroups(cacheGroups);
     }
 
     public int getFetchLimit() {



Mime
View raw message