dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #40644
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 20643: Approval level, removed unused controller
------------------------------------------------------------
revno: 20643
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2015-10-12 17:58:33 +0200
message:
Approval level, removed unused controller
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataapproval/DataApprovalLevel.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/dataapproval/DataApprovalLevel.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataapproval/DataApprovalLevel.java 2015-10-05 17:45:17 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataapproval/DataApprovalLevel.java 2015-10-12 15:58:33 +0000
@@ -28,8 +28,6 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-import java.util.Date;
-
import org.hisp.dhis.common.BaseIdentifiableObject;
import org.hisp.dhis.common.DxfNamespaces;
import org.hisp.dhis.common.view.DetailedView;
@@ -87,25 +85,14 @@
this.categoryOptionGroupSet = categoryOptionGroupSet;
}
- public DataApprovalLevel( String name, int level, int orgUnitLevel, CategoryOptionGroupSet categoryOptionGroupSet,
- Date created, Date lastUpdated )
- {
- this.name = name;
- this.level = level;
- this.orgUnitLevel = orgUnitLevel;
- this.categoryOptionGroupSet = categoryOptionGroupSet;
- this.created = created;
- this.lastUpdated = lastUpdated;
- }
-
- public DataApprovalLevel( DataApprovalLevel d )
- {
- this.name = d.name;
- this.level = d.level;
- this.orgUnitLevel = d.orgUnitLevel;
- this.categoryOptionGroupSet = d.categoryOptionGroupSet;
- this.created = d.created;
- this.lastUpdated = d.lastUpdated;
+ public DataApprovalLevel( DataApprovalLevel level )
+ {
+ this.name = level.name;
+ this.level = level.level;
+ this.orgUnitLevel = level.orgUnitLevel;
+ this.categoryOptionGroupSet = level.categoryOptionGroupSet;
+ this.created = level.created;
+ this.lastUpdated = level.lastUpdated;
}
// -------------------------------------------------------------------------