Code Review
/
yangtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Mark MutationBehaviour evolution
[yangtools.git]
/
common
/
concepts
/
src
/
main
/
java
/
org
/
opendaylight
/
yangtools
/
concepts
/
Delegator.java
diff --git
a/common/concepts/src/main/java/org/opendaylight/yangtools/concepts/Delegator.java
b/common/concepts/src/main/java/org/opendaylight/yangtools/concepts/Delegator.java
index be799d7fc05dc680999b814cb15c41b987f3aa53..78325fb4d52b7ff5581bf7a71435f37cf09b70c4 100644
(file)
--- a/
common/concepts/src/main/java/org/opendaylight/yangtools/concepts/Delegator.java
+++ b/
common/concepts/src/main/java/org/opendaylight/yangtools/concepts/Delegator.java
@@
-7,15
+7,18
@@
*/
package org.opendaylight.yangtools.concepts;
*/
package org.opendaylight.yangtools.concepts;
+import org.eclipse.jdt.annotation.NonNull;
+
/**
/**
- * Implementation of this interface delegates all it's calls
- * to the delegator if not specified otherwise.
- *
+ * Implementation of this interface delegates all its calls to the delegate if not specified otherwise.
*
* @param <T> Type of delegate
*/
public interface Delegator<T> {
*
* @param <T> Type of delegate
*/
public interface Delegator<T> {
-
- T getDelegate();
-
+ /**
+ * Return underlying delegate.
+ *
+ * @return underlying delegate.
+ */
+ @NonNull T getDelegate();
}
}