Code Review
/
openflowplugin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix RpcResultBuilder/RpcContext raw references
[openflowplugin.git]
/
openflowplugin-impl
/
src
/
main
/
java
/
org
/
opendaylight
/
openflowplugin
/
impl
/
statistics
/
services
/
dedicated
/
StatisticsGatheringService.java
diff --git
a/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/statistics/services/dedicated/StatisticsGatheringService.java
b/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/statistics/services/dedicated/StatisticsGatheringService.java
index 720a2dddb76f6d065e5a19dd835b3380ff6d0532..7a5685327c93a1e3724590b2d65dd5634f591fcb 100644
(file)
--- a/
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/statistics/services/dedicated/StatisticsGatheringService.java
+++ b/
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/statistics/services/dedicated/StatisticsGatheringService.java
@@
-79,7
+79,7
@@
public class StatisticsGatheringService extends CommonService {
@Override
public void onFailure(final Throwable throwable) {
@Override
public void onFailure(final Throwable throwable) {
- RpcResultBuilder rpcResultBuilder = RpcResultBuilder.<Void>failed().withError(RpcError.ErrorType.APPLICATION, throwable.getMessage());
+ RpcResultBuilder
<Void>
rpcResultBuilder = RpcResultBuilder.<Void>failed().withError(RpcError.ErrorType.APPLICATION, throwable.getMessage());
getDeviceContext().unhookRequestCtx(requestContext.getXid());
RequestContextUtil.closeRequstContext(requestContext);
getDeviceContext().unhookRequestCtx(requestContext.getXid());
RequestContextUtil.closeRequstContext(requestContext);