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

This commit is contained in:
Chatura Dilan 2016-05-31 18:42:54 +05:30
commit 7c59e391de

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(