dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #29312
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14775: Cleanup
------------------------------------------------------------
revno: 14775
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2014-04-10 19:52:41 +0200
message:
Cleanup
modified:
dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/dataapproval/DataApprovalServiceTest.java
dhis-2/dhis-support/dhis-support-external/pom.xml
dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/oust/manager/DefaultSelectionTreeManager.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-services/dhis-service-core/src/test/java/org/hisp/dhis/dataapproval/DataApprovalServiceTest.java'
--- dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/dataapproval/DataApprovalServiceTest.java 2014-04-07 04:27:17 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/dataapproval/DataApprovalServiceTest.java 2014-04-10 17:52:41 +0000
@@ -33,7 +33,6 @@
import static org.junit.Assert.assertNull;
import static org.junit.Assert.fail;
-import java.util.Collection;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
@@ -54,7 +53,6 @@
import org.hisp.dhis.period.Period;
import org.hisp.dhis.period.PeriodService;
import org.hisp.dhis.period.PeriodType;
-import org.hisp.dhis.schema.AuthorityType;
import org.hisp.dhis.user.User;
import org.hisp.dhis.user.UserService;
import org.junit.Test;
@@ -93,8 +91,6 @@
// Supporting data
// -------------------------------------------------------------------------
- private final static boolean ACCEPTED = true;
-
private final static boolean NOT_ACCEPTED = false;
private final static CategoryOptionGroup NO_GROUP = null;
@@ -304,8 +300,6 @@
private void setUpCategories() throws Exception
{
- Collection<CategoryOptionGroup> allGroups;
-
optionA = new DataElementCategoryOption( "CategoryOptionA" );
optionB = new DataElementCategoryOption( "CategoryOptionB" );
optionC = new DataElementCategoryOption( "CategoryOptionC" );
=== modified file 'dhis-2/dhis-support/dhis-support-external/pom.xml'
--- dhis-2/dhis-support/dhis-support-external/pom.xml 2014-03-05 05:52:03 +0000
+++ dhis-2/dhis-support/dhis-support-external/pom.xml 2014-04-10 17:52:41 +0000
@@ -90,7 +90,6 @@
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-openid</artifactId>
- <version>${spring.security.version}</version>
</dependency>
<!-- Other -->
@@ -106,7 +105,6 @@
<dependency>
<groupId>org.openid4java</groupId>
<artifactId>openid4java</artifactId>
- <version>0.9.7</version>
</dependency>
</dependencies>
<properties>
=== modified file 'dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/oust/manager/DefaultSelectionTreeManager.java'
--- dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/oust/manager/DefaultSelectionTreeManager.java 2014-04-05 20:24:59 +0000
+++ dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/oust/manager/DefaultSelectionTreeManager.java 2014-04-10 17:52:41 +0000
@@ -28,18 +28,17 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-import com.opensymphony.xwork2.ActionContext;
-import org.hisp.dhis.organisationunit.OrganisationUnit;
-import org.hisp.dhis.organisationunit.OrganisationUnitService;
-import org.hisp.dhis.user.CurrentUserService;
-import org.hisp.dhis.user.User;
-
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
+import org.hisp.dhis.organisationunit.OrganisationUnit;
+import org.hisp.dhis.organisationunit.OrganisationUnitService;
+
+import com.opensymphony.xwork2.ActionContext;
+
/**
* @author Torgeir Lorange Ostby
*/
@@ -62,13 +61,6 @@
this.organisationUnitService = organisationUnitService;
}
- private CurrentUserService currentUserService;
-
- public void setCurrentUserService( CurrentUserService currentUserService )
- {
- this.currentUserService = currentUserService;
- }
-
// -------------------------------------------------------------------------
// SelectionTreeManager implementation
// -------------------------------------------------------------------------