From bcc2add2c64a0f036c8b76ac31611ab87af2fc30 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Wed, 10 Jul 2019 09:10:15 +0530 Subject: 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 --- .../java/org/onap/aaf/auth/batch/helpers/NsAttrib.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'auth/auth-batch/src') 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 v2_0_11 = new Creator() { @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 creator, Visitor visitor) { trans.info().log( "query: " + creator.select() ); ResultSet results; -- cgit 1.2.3-korg