diff options
author | j00302280 <j00101220@huawei.com> | 2016-10-10 15:10:06 +0800 |
---|---|---|
committer | j00302280 <j00101220@huawei.com> | 2016-10-10 15:10:06 +0800 |
commit | 9064db27c583df2bae277c5f297af451917815b0 (patch) | |
tree | 9389e6ae0286c49c6b6a8d5577d6c4139dea40cb /servicegateway | |
parent | 4b1c59d704488f231a19f1311c8c43d4b5e878c2 (diff) |
Resolve the Bug GSO-8
Change-Id: I65bed2e965d03230782920d0a16542e40a37cdc2
Signed-off-by: j00302280 <j00101220@huawei.com>
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)) { |