dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #27053
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13412: Debug code
------------------------------------------------------------
revno: 13412
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2013-12-23 23:31:12 +0100
message:
Debug code
modified:
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/SvgConversionController.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/SvgConversionController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/SvgConversionController.java 2013-12-23 22:28:05 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/SvgConversionController.java 2013-12-23 22:31:12 +0000
@@ -61,7 +61,6 @@
public void toPng( @RequestBody String svg, @RequestParam( required = false ) String filename, HttpServletResponse response )
throws Exception
{
- System.out.println("--" + svg + "--");
String name = filename != null ? ( CodecUtils.filenameEncode( filename ) + ".png" ) : "file.png";
contextUtils.configureResponse( response, ContextUtils.CONTENT_TYPE_PNG, CacheStrategy.NO_CACHE, name, true );