This class has only a single member, which is immutable and is final,
which means it is Immutable. Reflect that in the class hierarchy.
Change-Id: I1cc8866e5d4b3344361581bf0037971855bd2f5d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit
309ead000a3fe60ce86d86c8391d6e0c2e3e7720)
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.annotation.RegEx;
+import org.opendaylight.yangtools.concepts.Immutable;
/**
* Dedicated object identifying a YANG module revision.
*
* @author Robert Varga
*/
-public final class Revision implements Comparable<Revision>, Serializable {
+public final class Revision implements Comparable<Revision>, Immutable, Serializable {
// Note: since we are using writeReplace() this version is not significant.
private static final long serialVersionUID = 1L;