You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2010/04/28 13:29:09 UTC

svn commit: r938939 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelEntity.java

Author: lektran
Date: Wed Apr 28 11:29:09 2010
New Revision: 938939

URL: http://svn.apache.org/viewvc?rev=938939&view=rev
Log:
The following deprecated classes, constructors or methods have been removed:
org.ofbiz.entity.model.ModelEntity.getPksCopy()
- Use getPkFieldsUnmodifiable() instead
org.ofbiz.entity.model.ModelEntity.getFieldsCopy()
- Use getFieldsUnmodifiable() instead

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelEntity.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelEntity.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelEntity.java?rev=938939&r1=938938&r2=938939&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelEntity.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelEntity.java Wed Apr 28 11:29:09 2010
@@ -492,16 +492,6 @@ public class ModelEntity extends ModelIn
         return this.pks.iterator();
     }
 
-    /**
-     * @deprecated Use getPkFieldsUnmodifiable instead.
-     */
-    @Deprecated
-    public List<ModelField> getPksCopy() {
-        List<ModelField> newList = FastList.newInstance();
-        newList.addAll(this.pks);
-        return newList;
-    }
-
     public List<ModelField> getPkFieldsUnmodifiable() {
         return Collections.unmodifiableList(this.pks);
     }
@@ -537,16 +527,6 @@ public class ModelEntity extends ModelIn
         return this.fields.iterator();
     }
 
-    /**
-     * @deprecated Use getFieldsUnmodifiable instead.
-     */
-    @Deprecated
-    public List<ModelField> getFieldsCopy() {
-        List<ModelField> newList = FastList.newInstance();
-        newList.addAll(this.fields);
-        return newList;
-    }
-
     public List<ModelField> getFieldsUnmodifiable() {
         return Collections.unmodifiableList(this.fields);
     }