cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r606470 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/reflect/LazyClassDescriptorDecorator.java
Date Sat, 22 Dec 2007 17:33:17 GMT
Author: aadamchik
Date: Sat Dec 22 09:33:16 2007
New Revision: 606470

URL: http://svn.apache.org/viewvc?rev=606470&view=rev
Log:
generics

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/reflect/LazyClassDescriptorDecorator.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/reflect/LazyClassDescriptorDecorator.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/reflect/LazyClassDescriptorDecorator.java?rev=606470&r1=606469&r2=606470&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/reflect/LazyClassDescriptorDecorator.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/reflect/LazyClassDescriptorDecorator.java
Sat Dec 22 09:33:16 2007
@@ -74,7 +74,7 @@
         return descriptor.getEntity();
     }
 
-    public Class getObjectClass() {
+    public Class<?> getObjectClass() {
         checkDescriptorInitialized();
         return descriptor.getObjectClass();
     }
@@ -83,17 +83,17 @@
      * @deprecated since 3.0. Use {@link #visitProperties(PropertyVisitor)} method
      *             instead.
      */
-    public Iterator getProperties() {
+    public Iterator<Property> getProperties() {
         checkDescriptorInitialized();
         return descriptor.getProperties();
     }
 
-    public Iterator getIdProperties() {
+    public Iterator<Property> getIdProperties() {
         checkDescriptorInitialized();
         return descriptor.getIdProperties();
     }
     
-    public Iterator getMapArcProperties() {
+    public Iterator<ArcProperty> getMapArcProperties() {
         checkDescriptorInitialized();
         return descriptor.getMapArcProperties();
     }
@@ -103,7 +103,7 @@
         return descriptor.getProperty(propertyName);
     }
 
-    public ClassDescriptor getSubclassDescriptor(Class objectClass) {
+    public ClassDescriptor getSubclassDescriptor(Class<?> objectClass) {
         checkDescriptorInitialized();
         return descriptor.getSubclassDescriptor(objectClass);
     }



Mime
View raw message