diff options
author | Vikas Varma <vv8305@att.com> | 2019-11-19 16:03:14 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-11-19 16:03:14 +0000 |
commit | 3cb2719257562283d9f90308ae71531e79522108 (patch) | |
tree | 053bdaa7bcfb959f2447252b4934e15f62a4a65d | |
parent | c86c426818faf6674fab66d06b69c974ed4f242a (diff) | |
parent | 99cab8d483e0c13199021af249d2544ce142eea0 (diff) |
Merge "Immediately return this expression"
-rw-r--r-- | cmso-service/src/main/java/org/onap/optf/cmso/dispatcher/rs/DispatcherServiceImpl.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cmso-service/src/main/java/org/onap/optf/cmso/dispatcher/rs/DispatcherServiceImpl.java b/cmso-service/src/main/java/org/onap/optf/cmso/dispatcher/rs/DispatcherServiceImpl.java index 3cf9194..d8fd7c3 100644 --- a/cmso-service/src/main/java/org/onap/optf/cmso/dispatcher/rs/DispatcherServiceImpl.java +++ b/cmso-service/src/main/java/org/onap/optf/cmso/dispatcher/rs/DispatcherServiceImpl.java @@ -75,8 +75,7 @@ public class DispatcherServiceImpl implements DispacherService { errors.error(LogMessages.UNEXPECTED_EXCEPTION, e.getMessage());
debug.error(e.getMessage(), e);
}
- Response response = Response.ok().build();
- return response;
+ return Response.ok().build();
}
@Override
@@ -105,8 +104,7 @@ public class DispatcherServiceImpl implements DispacherService { errors.error(LogMessages.UNEXPECTED_EXCEPTION, e.getMessage());
debug.error(e.getMessage(), e);
}
- Response response = Response.ok().build();
- return response;
+ return Response.ok().build();
}
@Override
|