X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=common%2Fconcepts%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fconcepts%2FMutationBehaviour.java;h=40e938e27e03692d9135c474299156245878756e;hb=32cdb7b12fd55527b87f5b6dd9f2043f7c719247;hp=30e1fbd2f925f31779cafea99260f8578a2563a0;hpb=f45fa11f9634949fcf36cfc79122c113995c56de;p=yangtools.git diff --git a/common/concepts/src/main/java/org/opendaylight/yangtools/concepts/MutationBehaviour.java b/common/concepts/src/main/java/org/opendaylight/yangtools/concepts/MutationBehaviour.java index 30e1fbd2f9..40e938e27e 100644 --- a/common/concepts/src/main/java/org/opendaylight/yangtools/concepts/MutationBehaviour.java +++ b/common/concepts/src/main/java/org/opendaylight/yangtools/concepts/MutationBehaviour.java @@ -8,15 +8,13 @@ package org.opendaylight.yangtools.concepts; /** - * Mutation behavior - * - * This interface is used to prevent same class extends multiple types of MutationBehaviour + * Mutation behavior. This interface is used to prevent same class extends multiple types of MutationBehaviour * such as {@link Immutable} and {@link Mutable} which are mutually exclusive. * * @author Tony Tkacik * * @param Mutation Type */ -public interface MutationBehaviour> { - +sealed interface MutationBehaviour> permits Immutable, Mutable { + // Marker interface only }