diff options
author | Jonathan Gathman <jonathan.gathman@att.com> | 2019-07-12 22:25:48 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-07-12 22:25:48 +0000 |
commit | 671e20a4ac2de8330a0f29dc71c59ad154985c82 (patch) | |
tree | cea6ac77834b769c1ddc0022bc0372c0d6ad11c4 | |
parent | 08c9a245bb73753834a96996a1433058eb4720d4 (diff) | |
parent | bcc2add2c64a0f036c8b76ac31611ab87af2fc30 (diff) |
Merge "Sonar Fix: NsAttrib.java"
-rw-r--r-- | auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/NsAttrib.java | 16 |
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; |