summaryrefslogtreecommitdiffstats
path: root/auth/auth-batch/src/main/java
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-07-10 09:10:15 +0530
committerArundathi Patil <arundpil@in.ibm.com>2019-07-10 09:10:34 +0530
commitbcc2add2c64a0f036c8b76ac31611ab87af2fc30 (patch)
treec15066bce3a1850aac169dd97733995550d43284 /auth/auth-batch/src/main/java
parent0c883163f5d2da8573e56fab3ddb62a1ca5b889e (diff)
Sonar Fix: NsAttrib.java
Moved a variable as per the java code convention Issue-ID: AAF-866 Change-Id: If2fe01e3e22171356ed4f24066c5573e67a9187f Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'auth/auth-batch/src/main/java')
-rw-r--r--auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/NsAttrib.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/NsAttrib.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/NsAttrib.java
index f5e36fa1..a2cba259 100644
--- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/NsAttrib.java
+++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/NsAttrib.java
@@ -38,14 +38,7 @@ public class NsAttrib {
public final String ns;
public final String key;
public final String value;
-
-
- public NsAttrib(String ns, String key, String value) {
- this.ns = ns;
- this.key = key;
- this.value = value;
- }
-
+
public static Creator<NsAttrib> v2_0_11 = new Creator<NsAttrib>() {
@Override
public NsAttrib create(Row row) {
@@ -58,6 +51,13 @@ public class NsAttrib {
}
};
+
+ public NsAttrib(String ns, String key, String value) {
+ this.ns = ns;
+ this.key = key;
+ this.value = value;
+ }
+
public static void load(Trans trans, Session session, Creator<NsAttrib> creator, Visitor<NsAttrib> visitor) {
trans.info().log( "query: " + creator.select() );
ResultSet results;