Merge branch 'rest-api-improvements' of https://github.com/wso2/carbon-device-mgt-plugins into rest-api-improvements

This commit is contained in:
hasuniea 2016-05-31 18:15:11 +05:30
commit 786c6859bd

View File

@ -121,12 +121,11 @@ public class DeviceTypeConfigurationServiceImpl implements DeviceTypeConfigurati
@GET @GET
@Path("license") @Path("/license")
@Produces(MediaType.TEXT_PLAIN) @Produces(MediaType.TEXT_PLAIN)
public Response getLicense( public Response getLicense(
@HeaderParam("If-Modified-Since") String ifModifiedSince) { @HeaderParam("If-Modified-Since") String ifModifiedSince) {
License license; License license;
try { try {
license = license =
AndroidAPIUtils.getDeviceManagementService().getLicense( AndroidAPIUtils.getDeviceManagementService().getLicense(