diff options
author | anushadasari <danush10@in.ibm.com> | 2019-11-18 20:33:48 +0530 |
---|---|---|
committer | anushadasari <danush10@in.ibm.com> | 2019-11-18 20:33:59 +0530 |
commit | b0606086154083bf6c12d8c14cdee077ca5758eb (patch) | |
tree | 7e6b4c0117cddd7f063d5a9a93f433c839bb5b6a /cmso-service/src | |
parent | 57bbfdd22ed6eba11bdd601298775838413a9dcd (diff) |
Immediately return this expression
Immediately return this expression instead of assigning it to the temporary variable "json".
Issue-ID: OPTFRA-644
Change-Id: I88d08c9329e23637a4f1f67f5ae8d8bfa0a34246
Signed-off-by: anushadasari <danush10@in.ibm.com>
Diffstat (limited to 'cmso-service/src')
-rw-r--r-- | cmso-service/src/main/java/org/onap/optf/cmso/service/rs/AdminToolImpl.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmso-service/src/main/java/org/onap/optf/cmso/service/rs/AdminToolImpl.java b/cmso-service/src/main/java/org/onap/optf/cmso/service/rs/AdminToolImpl.java index fa182b4..79ceb44 100644 --- a/cmso-service/src/main/java/org/onap/optf/cmso/service/rs/AdminToolImpl.java +++ b/cmso-service/src/main/java/org/onap/optf/cmso/service/rs/AdminToolImpl.java @@ -62,8 +62,7 @@ public class AdminToolImpl implements AdminTool { return Response.ok("").build();
}
String encrypted = PropertiesManagement.getEncryptedValue(id);
- Response response = Response.ok(encrypted).build();
- return response;
+ return Response.ok(encrypted).build();
}
}
|