Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bug 2358: Fixed warnings in Restconf
[controller.git]
/
opendaylight
/
md-sal
/
sal-binding-api
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
md
/
sal
/
binding
/
api
/
DataTreeModification.java
diff --git
a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/md/sal/binding/api/DataTreeModification.java
b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/md/sal/binding/api/DataTreeModification.java
index aac51a6a4cfa349d4c5bf602c71c12a169dd8395..8163baceac95b449fdc57c50ad81c2d7b2322ddb 100644
(file)
--- a/
opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/md/sal/binding/api/DataTreeModification.java
+++ b/
opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/md/sal/binding/api/DataTreeModification.java
@@
-17,7
+17,7
@@
import org.opendaylight.yangtools.yang.binding.DataObject;
* @author Tony Tkacik <ttkacik@cisco.com>
*
*/
* @author Tony Tkacik <ttkacik@cisco.com>
*
*/
-public interface DataTreeModification {
+public interface DataTreeModification
<T extends DataObject>
{
/**
* Get the modification root path. This is the path of the root node
/**
* Get the modification root path. This is the path of the root node
@@
-25,13
+25,13
@@
public interface DataTreeModification {
*
* @return absolute path of the root node
*/
*
* @return absolute path of the root node
*/
- @Nonnull DataTreeIdentifier getRootPath();
+ @Nonnull DataTreeIdentifier
<T>
getRootPath();
/**
* Get the modification root node.
*
* @return modification root node
*/
/**
* Get the modification root node.
*
* @return modification root node
*/
- @Nonnull DataObjectModification<
? extends DataObject
> getRootNode();
+ @Nonnull DataObjectModification<
T
> getRootNode();
}
}