diff options
author | 2019-09-18 15:05:30 +0530 | |
---|---|---|
committer | 2019-09-18 15:05:46 +0530 | |
commit | f7ecb6641188fa788c80a1b5a19380493016d85d (patch) | |
tree | ef47184879b375306c0f37f1e7aaeabf6eadf365 /auth/auth-cass/src/main/java/org/onap | |
parent | b907ab4b6d721c875b042a89c7c8c071ba0dd4a9 (diff) |
Sonar Fix: CassDAOImpl.java
Fixed sonar issues across this file
Issue-ID: AAF-968
Change-Id: I0d3d887906d4ad43ce376f6634c782ea77427644
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'auth/auth-cass/src/main/java/org/onap')
-rw-r--r-- | auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/CassDAOImpl.java | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/CassDAOImpl.java b/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/CassDAOImpl.java index 72444c99..68ec2e8b 100644 --- a/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/CassDAOImpl.java +++ b/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/CassDAOImpl.java @@ -167,19 +167,27 @@ public class CassDAOImpl<TRANS extends TransStore,DATA> extends AbsCassDAO<TRANS public void replace(CRUD crud, PSInfo psInfo) { switch(crud) { - case create: createPS = psInfo; break; - case read: readPS = psInfo; break; - case update: updatePS = psInfo; break; - case delete: deletePS = psInfo; break; + case create: createPS = psInfo; + break; + case read: readPS = psInfo; + break; + case update: updatePS = psInfo; + break; + case delete: deletePS = psInfo; + break; } } public void disable(CRUD crud) { switch(crud) { - case create: createPS = null; break; - case read: readPS = null; break; - case update: updatePS = null; break; - case delete: deletePS = null; break; + case create: createPS = null; + break; + case read: readPS = null; + break; + case update: updatePS = null; + break; + case delete: deletePS = null; + break; } } |