db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject svn commit: r677530 - in /db/jdo/trunk/api2/src/java/javax/jdo/annotations: Cacheable.java PersistenceCapable.java Persistent.java
Date Thu, 17 Jul 2008 08:10:42 GMT
Author: andyj
Date: Thu Jul 17 01:10:41 2008
New Revision: 677530

URL: http://svn.apache.org/viewvc?rev=677530&view=rev
Log:
Make cacheable property a String and lose type checking :-)

Modified:
    db/jdo/trunk/api2/src/java/javax/jdo/annotations/Cacheable.java
    db/jdo/trunk/api2/src/java/javax/jdo/annotations/PersistenceCapable.java
    db/jdo/trunk/api2/src/java/javax/jdo/annotations/Persistent.java

Modified: db/jdo/trunk/api2/src/java/javax/jdo/annotations/Cacheable.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/annotations/Cacheable.java?rev=677530&r1=677529&r2=677530&view=diff
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/annotations/Cacheable.java (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/annotations/Cacheable.java Thu Jul 17 01:10:41 2008
@@ -33,5 +33,5 @@
 @Retention(RetentionPolicy.RUNTIME)
 public @interface Cacheable
 {
-	boolean value() default true;
+	String value() default "true";
 }
\ No newline at end of file

Modified: db/jdo/trunk/api2/src/java/javax/jdo/annotations/PersistenceCapable.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/annotations/PersistenceCapable.java?rev=677530&r1=677529&r2=677530&view=diff
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/annotations/PersistenceCapable.java (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/annotations/PersistenceCapable.java Thu Jul 17 01:10:41
2008
@@ -73,9 +73,9 @@
     /** Whether this class is cacheable in a Level2 cache.
      * @since 2.2
      */
-    boolean cacheable() default true;
+    String cacheable() default "true";
 
-    /** Any vendor extensions. 
+    /** Any vendor extensions.
      */
     Extension[] extensions() default {};
 }

Modified: db/jdo/trunk/api2/src/java/javax/jdo/annotations/Persistent.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/annotations/Persistent.java?rev=677530&r1=677529&r2=677530&view=diff
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/annotations/Persistent.java (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/annotations/Persistent.java Thu Jul 17 01:10:41 2008
@@ -206,7 +206,7 @@
     /** Whether this field/property is cacheable in a Level2 cache.
      * @since 2.2
      */
-    boolean cacheable() default true;
+    String cacheable() default "true";
 
     /** Vendor extensions for this member. 
      * @return the vendor extensions



Mime
View raw message