Fix RpcResultBuilder/RpcContext raw references
[openflowplugin.git] / openflowplugin-impl / src / main / java / org / opendaylight / openflowplugin / impl / statistics / services / dedicated / StatisticsGatheringService.java
index 720a2dddb76f6d065e5a19dd835b3380ff6d0532..7a5685327c93a1e3724590b2d65dd5634f591fcb 100644 (file)
@@ -79,7 +79,7 @@ public class StatisticsGatheringService extends CommonService {
 
                                              @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);