← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4974: removed unused field on dataelement (parent)

 

------------------------------------------------------------
revno: 4974
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-10-18 15:33:52 +0200
message:
  removed unused field on dataelement (parent)
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElement.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElement.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElement.java	2011-09-08 15:28:20 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElement.java	2011-10-18 13:33:52 +0000
@@ -125,11 +125,6 @@
     private Set<DataElement> children = new HashSet<DataElement>();
 
     /**
-     * The parent DataElement for this DataElement.
-     */
-    private DataElement parent;
-
-    /**
      * A combination of categories to capture data.
      */
     private DataElementCategoryCombo categoryCombo;
@@ -441,16 +436,6 @@
         this.children = children;
     }
 
-    public DataElement getParent()
-    {
-        return parent;
-    }
-
-    public void setParent( DataElement parent )
-    {
-        this.parent = parent;
-    }
-
     public DataElementCategoryCombo getCategoryCombo()
     {
         return categoryCombo;