dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #42659
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21790: minor fix
------------------------------------------------------------
revno: 21790
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2016-01-21 13:50:38 +0700
message:
minor fix
modified:
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/preheat/DefaultPreheatService.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/main/java/org/hisp/dhis/preheat/DefaultPreheatService.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/preheat/DefaultPreheatService.java 2016-01-04 02:27:49 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/preheat/DefaultPreheatService.java 2016-01-21 06:50:38 +0000
@@ -28,10 +28,6 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-import java.util.Collection;
-import java.util.Map;
-import java.util.Set;
-
import org.springframework.transaction.annotation.Transactional;
/**
@@ -41,18 +37,13 @@
public class DefaultPreheatService implements PreheatService
{
@Override
- public void preheat( Set<Class<?>> classes )
+ public Preheat preheat( PreheatParams params )
{
- reset();
+ return null;
}
@Override
- public void preheat( Map<Class<?>, Collection<String>> classes )
- {
- reset();
- }
-
- private void reset()
+ public void validate( PreheatParams params ) throws PreheatException
{
}