summaryrefslogtreecommitdiffstats
path: root/auth
diff options
context:
space:
mode:
authorJonathan Gathman <jonathan.gathman@att.com>2019-10-14 21:00:07 +0000
committerGerrit Code Review <gerrit@onap.org>2019-10-14 21:00:07 +0000
commitaa47022612e86ae33af38409d942725ed28ff5ba (patch)
tree8a8b239d3c258fa8162285fd83bc09c24b214fe0 /auth
parentc264d0c9cd34398614564672a5a8fb21f15786e4 (diff)
parent57453f82af014148e7be6cb025069123c0a27672 (diff)
Merge "CredDAO.java -Extract the assignment out of expression"
Diffstat (limited to 'auth')
-rw-r--r--auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/cass/CredDAO.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/cass/CredDAO.java b/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/cass/CredDAO.java
index 71401882..5acc836e 100644
--- a/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/cass/CredDAO.java
+++ b/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/cass/CredDAO.java
@@ -3,6 +3,7 @@
* org.onap.aaf
* ===========================================================================
* Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2019 IBM.
* ===========================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -150,7 +151,8 @@ public class CredDAO extends CassDAOImpl<AuthzTrans,CredDAO.Data> {
@Override
protected void body(Data data, int idx, Object[] obj) {
int i;
- obj[i=idx] = data.other;
+ i=idx;
+ obj[i] = data.other;
obj[++i] = data.ns;
obj[++i] = data.tag;
obj[++i] = data.notes;