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=6cf499fc405554093489b3a20fdeb2f02a18f206;hpb=dd8b87bc7b7fc403735cd71fecc272d40ca9c673;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 6cf499fc40..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 }