dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #38177
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19493: Compilation fix
------------------------------------------------------------
revno: 19493
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2015-06-22 18:08:25 +0200
message:
Compilation fix
modified:
dhis-2/dhis-support/dhis-support-test/src/main/java/org/hisp/dhis/mock/MockCurrentUserService.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-support/dhis-support-test/src/main/java/org/hisp/dhis/mock/MockCurrentUserService.java'
--- dhis-2/dhis-support/dhis-support-test/src/main/java/org/hisp/dhis/mock/MockCurrentUserService.java 2015-06-01 19:49:10 +0000
+++ dhis-2/dhis-support/dhis-support-test/src/main/java/org/hisp/dhis/mock/MockCurrentUserService.java 2015-06-22 16:08:25 +0000
@@ -30,14 +30,18 @@
import java.util.Arrays;
import java.util.HashSet;
+import java.util.List;
import java.util.Set;
+import org.hisp.dhis.dataset.DataSet;
import org.hisp.dhis.organisationunit.OrganisationUnit;
import org.hisp.dhis.user.CurrentUserService;
import org.hisp.dhis.user.User;
import org.hisp.dhis.user.UserAuthorityGroup;
import org.hisp.dhis.user.UserCredentials;
+import com.google.common.collect.Lists;
+
/**
* @author Lars Helge Overland
*/
@@ -112,4 +116,10 @@
{
return true;
}
+
+ @Override
+ public List<DataSet> getCurrentUserDataSets()
+ {
+ return Lists.newArrayList();
+ }
}