Seal ItemOrder and MutationBehaviour
[yangtools.git] / common / concepts / src / main / java / org / opendaylight / yangtools / concepts / MutationBehaviour.java
index 537548d6acf8c726768160d4bd2382f4cbd04d64..40e938e27e03692d9135c474299156245878756e 100644 (file)
@@ -15,8 +15,6 @@ package org.opendaylight.yangtools.concepts;
  *
  * @param <T> Mutation Type
  */
-// FIXME: sealed to allow Mutable and Immutable only when we have JDK17+
-// FIXME: consider hiding this interface afterwards
-public interface MutationBehaviour<T extends MutationBehaviour<T>> {
+sealed interface MutationBehaviour<T extends MutationBehaviour<T>> permits Immutable, Mutable {
     // Marker interface only
 }