diff options
author | 2022-04-13 09:11:10 +0000 | |
---|---|---|
committer | 2022-04-13 09:11:10 +0000 | |
commit | 82ba063e008e0f2d46bdd1e199a78a4db7650a32 (patch) | |
tree | 61636548a2061a4e18ccf2ba70a760a845c1816e /framework/src | |
parent | 30112b24ada9a4ce0bfff2e1d8693f3dd30f8708 (diff) | |
parent | 37efd3fe909604e58712784593758f4621af3846 (diff) |
Merge "Removed useless curly braces around statement and useless return keyword"
Diffstat (limited to 'framework/src')
-rw-r--r-- | framework/src/main/java/org/onap/cli/fw/store/OnapCommandExecutionStore.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/src/main/java/org/onap/cli/fw/store/OnapCommandExecutionStore.java b/framework/src/main/java/org/onap/cli/fw/store/OnapCommandExecutionStore.java index a1c84a41..b68474db 100644 --- a/framework/src/main/java/org/onap/cli/fw/store/OnapCommandExecutionStore.java +++ b/framework/src/main/java/org/onap/cli/fw/store/OnapCommandExecutionStore.java @@ -471,9 +471,7 @@ public class OnapCommandExecutionStore { } private File getExecutionDir(String executionId) throws OnapCommandExecutionNotFound { - File []f = new File(getBasePath()).listFiles((dir, name) -> { - return name.startsWith(executionId); - }); + File []f = new File(getBasePath()).listFiles((dir, name) -> name.startsWith(executionId)); if (f.length == 0) { throw new OnapCommandExecutionNotFound(executionId); |