Code Review
/
yangtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Seal ItemOrder and MutationBehaviour
[yangtools.git]
/
common
/
concepts
/
src
/
main
/
java
/
org
/
opendaylight
/
yangtools
/
concepts
/
MutationBehaviour.java
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 30e1fbd2f925f31779cafea99260f8578a2563a0..40e938e27e03692d9135c474299156245878756e 100644
(file)
--- 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;
/**
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 <T> Mutation Type
*/
* such as {@link Immutable} and {@link Mutable} which are mutually exclusive.
*
* @author Tony Tkacik
*
* @param <T> Mutation Type
*/
-
public interface MutationBehaviour<T extends MutationBehaviour<T>>
{
-
+
sealed interface MutationBehaviour<T extends MutationBehaviour<T>> permits Immutable, Mutable
{
+ // Marker interface only
}
}