diff options
Diffstat (limited to 'servicegateway')
-rw-r--r-- | servicegateway/pom.xml | 6 | ||||
-rw-r--r-- | servicegateway/service/src/main/java/org/openo/gso/gui/servicegateway/service/impl/ServiceGatewayImpl.java | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/servicegateway/pom.xml b/servicegateway/pom.xml index 4b2ed45e..3bbc4294 100644 --- a/servicegateway/pom.xml +++ b/servicegateway/pom.xml @@ -114,15 +114,15 @@ <artifactId>jackson-jaxrs</artifactId> <version>1.9.2</version> </dependency> - <dependency> + <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>3.1.0</version> </dependency> <dependency> - <groupId>com.googlecode.jmockit</groupId> + <groupId>org.jmockit</groupId> <artifactId>jmockit</artifactId> - <version>1.1</version> + <version>1.18</version> <scope>test</scope> </dependency> <dependency> diff --git a/servicegateway/service/src/main/java/org/openo/gso/gui/servicegateway/service/impl/ServiceGatewayImpl.java b/servicegateway/service/src/main/java/org/openo/gso/gui/servicegateway/service/impl/ServiceGatewayImpl.java index 07442bb3..113693c8 100644 --- a/servicegateway/service/src/main/java/org/openo/gso/gui/servicegateway/service/impl/ServiceGatewayImpl.java +++ b/servicegateway/service/src/main/java/org/openo/gso/gui/servicegateway/service/impl/ServiceGatewayImpl.java @@ -148,7 +148,6 @@ public class ServiceGatewayImpl implements IServiceGateway { service.remove(Constant.SERVICE_OPERATION); // call the restful - String id = null; try { RestfulResponse restfulRsp = null; if(Constant.SERVICE_DELETE_OPERATION.equalsIgnoreCase(operation)) { |