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/02/21 00:16:18 UTC

svn commit: r912250 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelIndex.java

Author: lektran
Date: Sat Feb 20 23:16:17 2010
New Revision: 912250

URL: http://svn.apache.org/viewvc?rev=912250&view=rev
Log:
The following deprecated classes, constructors or methods have been removed:
org.ofbiz.entity.model.ModelIndex.getMainEntity()
- Use ModelIndex.getModelEntity() instead

org.ofbiz.entity.model.ModelIndex.setMainEntity(ModelEntity)
- Use one of the ModelIndex constructors instead

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

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelIndex.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelIndex.java?rev=912250&r1=912249&r2=912250&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelIndex.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelIndex.java Sat Feb 20 23:16:17 2010
@@ -94,19 +94,6 @@
         this.unique = unique;
     }
 
-    /** @deprecated
-      * the main entity of this relation */
-    @Deprecated
-    public ModelEntity getMainEntity() {
-        return getModelEntity();
-    }
-
-    /** @deprecated */
-    @Deprecated
-    public void setMainEntity(ModelEntity mainEntity) {
-        setModelEntity(mainEntity);
-    }
-
     public Iterator<String> getIndexFieldsIterator() {
         return this.fieldNames.iterator();
     }