dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #16714
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6423: Debug code
------------------------------------------------------------
revno: 6423
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2012-03-28 20:28:57 +0200
message:
Debug code
modified:
dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/datavalue/DefaultDataValueService.java
dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/datavalueset/DataValueSetService.java
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/DataValueController.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-dxf2/src/main/java/org/hisp/dhis/dxf2/datavalue/DefaultDataValueService.java'
--- dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/datavalue/DefaultDataValueService.java 2012-03-28 18:27:56 +0000
+++ dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/datavalue/DefaultDataValueService.java 2012-03-28 18:28:57 +0000
@@ -123,8 +123,6 @@
{
batchHandler.addObject( internalValue );
}
-
- System.out.println( "Inserted " + internalValue );
}
batchHandler.flush();
=== modified file 'dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/datavalueset/DataValueSetService.java'
--- dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/datavalueset/DataValueSetService.java 2012-03-28 16:04:53 +0000
+++ dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/datavalueset/DataValueSetService.java 2012-03-28 18:28:57 +0000
@@ -27,7 +27,6 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-
public interface DataValueSetService
{
void saveDataValueSet( DataValueSet dataValueSet );
=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/DataValueController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/DataValueController.java 2012-03-28 18:27:56 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/DataValueController.java 2012-03-28 18:28:57 +0000
@@ -32,8 +32,6 @@
import javax.servlet.http.HttpServletResponse;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
import org.hisp.dhis.api.utils.ContextUtils;
import org.hisp.dhis.common.IdentifiableObject;
import org.hisp.dhis.dxf2.datavalue.DataValueService;
@@ -51,8 +49,6 @@
{
public static final String RESOURCE_PATH = "/dataValues";
- private static final Log log = LogFactory.getLog( DataValueController.class );
-
@Autowired
private DataValueService dataValueService;
@@ -65,8 +61,6 @@
dataValueService.saveDataValues( dataValues, IdentifiableObject.IdentifiableProperty.UID );
- log.info( "SIZE " + dataValues.getDataValues().size() );
-
ContextUtils.okResponse( response, "Data values saved successfully" );
}
}