← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15223: minor fix

 

------------------------------------------------------------
revno: 15223
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2014-05-12 09:16:41 +0200
message:
  minor fix
modified:
  dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/SystemController.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/SystemController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/SystemController.java	2014-05-12 07:16:07 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/SystemController.java	2014-05-12 07:16:41 +0000
@@ -79,9 +79,6 @@
     @Autowired
     private Notifier notifier;
 
-    @Autowired
-    private CalendarService calendarService;
-
     //--------------------------------------------------------------------------
     // UID Generator
     //--------------------------------------------------------------------------
@@ -110,15 +107,6 @@
             }
         }
 
-        Calendar calendar = calendarService.getSystemCalendar();
-        System.err.println( "Current Calendar: " + calendar.name() );
-        System.err.println( "Today: " + calendar.today() );
-
-        System.err.println( "Year: " + calendar.toInterval( DateIntervalType.ISO8601_YEAR, 0, 1 ) );
-        System.err.println( "Month: " + calendar.toInterval( DateIntervalType.ISO8601_MONTH, 0, 1 ) );
-        System.err.println( "Week: " + calendar.toInterval( DateIntervalType.ISO8601_WEEK, 0, 1 ) );
-        System.err.println( "Day: " + calendar.toInterval( DateIntervalType.ISO8601_DAY, 0, 1 ) );
-
         JacksonUtils.toJson( response.getOutputStream(), codes );
     }