← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 706: Deprecated lockedPeriods property on DataSet.

 

------------------------------------------------------------
revno: 706
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Mon 2009-09-14 19:07:34 +0200
message:
  Deprecated lockedPeriods property on DataSet.
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/datalock/DataSetLockService.java
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataset/DataSet.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/datalock/DataSetLockService.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/datalock/DataSetLockService.java	2009-09-10 13:17:59 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/datalock/DataSetLockService.java	2009-09-14 17:07:34 +0000
@@ -144,7 +144,6 @@
      * @param dataSetIdentifiers the data set Lock identifiers.
      * @return a distinct collection of data sets.
      */
-    Collection<DataSet> getDistinctDataSets( Collection<Integer> dataSetLockIdentifiers );
-    
+    Collection<DataSet> getDistinctDataSets( Collection<Integer> dataSetLockIdentifiers );    
 }
 

=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataset/DataSet.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataset/DataSet.java	2009-06-30 14:52:21 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataset/DataSet.java	2009-09-14 17:07:34 +0000
@@ -90,7 +90,10 @@
     
     /**
      * All locked periods within the DataSet.
-     */    
+     * 
+     * @deprecated Replaced by the DataSetLock object.
+     */
+    @Deprecated
     private Set<Period> lockedPeriods = new HashSet<Period>();
 
     /**