diff options
author | Thomas Nelson <nelson24@att.com> | 2019-09-11 16:40:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-09-11 16:40:41 +0000 |
commit | 08a17c93ecd50971172026dafb5456f41040ea1a (patch) | |
tree | ba843758a13ae7e1aad30c475db5b987de76b16c /src | |
parent | aaa3b78f44dc513cc4e37fcfe0baf6fa45f83603 (diff) | |
parent | 89451aaa6bf33be7e9b0457007ba3ecb37eb9582 (diff) |
Merge "sonar-463 Immediately return this expression instead of assigning it to the temporary variable "ks""
Diffstat (limited to 'src')
-rwxr-xr-x | src/main/java/org/onap/music/datastore/MusicDataStore.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/org/onap/music/datastore/MusicDataStore.java b/src/main/java/org/onap/music/datastore/MusicDataStore.java index e3d4c780..6555ea21 100755 --- a/src/main/java/org/onap/music/datastore/MusicDataStore.java +++ b/src/main/java/org/onap/music/datastore/MusicDataStore.java @@ -284,8 +284,7 @@ public class MusicDataStore { * @return TableMetadata */ public KeyspaceMetadata returnKeyspaceMetadata(String keyspace) { - KeyspaceMetadata ks = cluster.getMetadata().getKeyspace(keyspace); - return ks; + return cluster.getMetadata().getKeyspace(keyspace); } |