dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #24901
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12251: remove unused dependency in EventController
------------------------------------------------------------
revno: 12251
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-09-26 13:16:52 +0200
message:
remove unused dependency in EventController
modified:
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/event/EventController.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-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/event/EventController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/event/EventController.java 2013-09-26 08:03:57 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/event/EventController.java 2013-09-26 11:16:52 +0000
@@ -53,7 +53,6 @@
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.http.HttpStatus;
import org.springframework.security.access.prepost.PreAuthorize;
-import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
@@ -95,9 +94,6 @@
@Autowired
private EventService eventService;
- @Autowired
- private AuthenticationManager authenticationManager;
-
// -------------------------------------------------------------------------
// Controller
// -------------------------------------------------------------------------
@@ -337,4 +333,4 @@
eventService.updateEvent( updatedEvent );
ContextUtils.okResponse( response, "Event updated: " + uid );
}
-}
+}
\ No newline at end of file