=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/DataValueController.java' --- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/DataValueController.java 2015-09-21 10:09:44 +0000 +++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/DataValueController.java 2015-09-22 10:16:12 +0000 @@ -589,7 +589,7 @@ if ( fileResource.getDomain() != FileResourceDomain.DATA_VALUE ) { - throw new WebMessageException( WebMessageUtils.conflict( "File resource domain must be of type DATA_VALUE" ) ); + throw new WebMessageException( WebMessageUtils.conflict( "File resource domain must be DATA_VALUE" ) ); } ByteSource content = fileResourceService.getFileResourceContent( fileResource ); @@ -612,7 +612,7 @@ try { inputStream = content.openStream(); - IOUtils.copyLarge( inputStream, response.getOutputStream() ); + IOUtils.copy( inputStream, response.getOutputStream() ); } catch ( IOException e ) {