This adds a SpotBugs suppression and adds the correct name for the
method.
Change-Id: Ibe985a63c21693bc9efdcb4cb98513ebf4c01b7c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
*/
package org.opendaylight.yangtools.yang.data.impl.codec;
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.util.AbstractMap.SimpleImmutableEntry;
import org.opendaylight.yangtools.yang.common.QName;
super(qname, value);
}
+ @Deprecated(forRemoval = true)
+ @SuppressFBWarnings(value = "NM_CONFUSING", justification = "Legacy typo")
public QName getQname() {
return getKey();
}
+
+ public QName getQName() {
+ return getKey();
+ }
}