X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aaf%2Fauthz.git;a=blobdiff_plain;f=auth%2Fauth-gui%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Faaf%2Fauth%2Fgui%2FNamedCode.java;fp=auth%2Fauth-gui%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Faaf%2Fauth%2Fgui%2FNamedCode.java;h=7824601f40722f3b017e6c60631e2bde61605a8f;hp=22069c551618be4dd97f7efa13e3b8532e3e08b3;hb=a3cbab8be520b0d20a2bceb3441392df7a194b7f;hpb=78ccdcc1d1c29760e4cf833f94df62e1c5aa733f diff --git a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/NamedCode.java b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/NamedCode.java index 22069c55..7824601f 100644 --- a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/NamedCode.java +++ b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/NamedCode.java @@ -22,21 +22,21 @@ package org.onap.aaf.auth.gui; public abstract class NamedCode implements ContentCode { - private final boolean no_cache; + private final boolean noCache; private String name; private String[] idattrs; /* * Mark whether this code should not be cached, and any attributes */ - public NamedCode(final boolean no_cache, final String name) { + public NamedCode(final boolean noCache, final String name) { this.name = name; idattrs = new String[] {name}; - this.no_cache = no_cache; + this.noCache = noCache; } - public NamedCode(boolean no_cache, NamedCode content) { - this.no_cache = no_cache; + public NamedCode(boolean noCache, NamedCode content) { + this.noCache = noCache; name=content.name; idattrs = content.idattrs; } @@ -61,7 +61,7 @@ public abstract class NamedCode implements ContentCode { idattrs = temp; } - public boolean no_cache() { - return no_cache; + public boolean noCache() { + return noCache; } }