=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataapproval/DefaultDataApprovalService.java' --- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataapproval/DefaultDataApprovalService.java 2015-11-30 03:36:54 +0000 +++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataapproval/DefaultDataApprovalService.java 2015-12-01 18:17:25 +0000 @@ -36,20 +36,16 @@ import java.util.Map; import java.util.Set; -import org.apache.commons.lang3.StringUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.hisp.dhis.common.IdentifiableObjectUtils; import org.hisp.dhis.common.ListMap; -import org.hisp.dhis.common.SetMap; import org.hisp.dhis.dataapproval.exceptions.DataMayNotBeAcceptedException; import org.hisp.dhis.dataapproval.exceptions.DataMayNotBeApprovedException; import org.hisp.dhis.dataapproval.exceptions.DataMayNotBeUnacceptedException; import org.hisp.dhis.dataapproval.exceptions.DataMayNotBeUnapprovedException; -import org.hisp.dhis.dataapproval.exceptions.DataSetNotMarkedForApprovalException; import org.hisp.dhis.dataelement.DataElementCategoryCombo; import org.hisp.dhis.dataelement.DataElementCategoryOptionCombo; -import org.hisp.dhis.dataset.DataSet; import org.hisp.dhis.organisationunit.OrganisationUnit; import org.hisp.dhis.organisationunit.OrganisationUnitService; import org.hisp.dhis.period.Period; === modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataapproval/hibernate/HibernateDataApprovalStore.java' --- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataapproval/hibernate/HibernateDataApprovalStore.java 2015-11-30 03:36:54 +0000 +++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataapproval/hibernate/HibernateDataApprovalStore.java 2015-12-01 18:17:25 +0000 @@ -28,8 +28,6 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -import static org.hisp.dhis.common.IdentifiableObjectUtils.getIdentifiers; -import static org.hisp.dhis.commons.util.TextUtils.getCommaDelimitedString; import static org.hisp.dhis.dataapproval.DataApprovalState.ACCEPTED_HERE; import static org.hisp.dhis.dataapproval.DataApprovalState.APPROVED_ABOVE; import static org.hisp.dhis.dataapproval.DataApprovalState.APPROVED_HERE; @@ -39,7 +37,6 @@ import static org.hisp.dhis.dataapproval.DataApprovalState.UNAPPROVED_WAITING; import java.util.ArrayList; -import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; @@ -52,7 +49,6 @@ import org.hibernate.criterion.Restrictions; import org.hisp.dhis.common.IdentifiableObjectUtils; import org.hisp.dhis.commons.collection.CachingMap; -import org.hisp.dhis.commons.util.TextUtils; import org.hisp.dhis.dataapproval.DataApproval; import org.hisp.dhis.dataapproval.DataApprovalLevel; import org.hisp.dhis.dataapproval.DataApprovalLevelService; @@ -63,13 +59,11 @@ import org.hisp.dhis.dataelement.DataElementCategoryCombo; import org.hisp.dhis.dataelement.DataElementCategoryOptionCombo; import org.hisp.dhis.dataelement.DataElementCategoryService; -import org.hisp.dhis.dataset.DataSet; import org.hisp.dhis.hibernate.HibernateGenericStore; import org.hisp.dhis.organisationunit.OrganisationUnit; import org.hisp.dhis.organisationunit.OrganisationUnitService; import org.hisp.dhis.period.Period; import org.hisp.dhis.period.PeriodService; -import org.hisp.dhis.period.PeriodType; import org.hisp.dhis.setting.Setting; import org.hisp.dhis.setting.SystemSettingManager; import org.hisp.dhis.system.util.DateUtils; @@ -77,8 +71,6 @@ import org.hisp.dhis.user.User; import org.springframework.jdbc.support.rowset.SqlRowSet; -import com.google.common.collect.Lists; - /** * @author Jim Grace */ === modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/datavalue/DataValueAuditDeletionHandler.java' --- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/datavalue/DataValueAuditDeletionHandler.java 2015-11-27 09:47:05 +0000 +++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/datavalue/DataValueAuditDeletionHandler.java 2015-12-01 18:17:25 +0000 @@ -32,9 +32,7 @@ /** * @author Quang Nguyen - * @version Apr 5, 2010 10:27:08 PM */ - public class DataValueAuditDeletionHandler extends DeletionHandler {