Code Review
/
yangtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Deprecate getSemanticVersion() for removal
[yangtools.git]
/
model
/
yang-model-api
/
src
/
main
/
java
/
org
/
opendaylight
/
yangtools
/
yang
/
model
/
api
/
ModuleImport.java
diff --git
a/model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/ModuleImport.java
b/model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/ModuleImport.java
index 4a135bb4a2d6d8d6098fd665fd2786c6d9549cd2..3e353cd0794dfe8c451735f2c86f46f794a023ce 100644
(file)
--- a/
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/ModuleImport.java
+++ b/
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/ModuleImport.java
@@
-43,7
+43,9
@@
public interface ModuleImport extends DocumentedNode, EffectiveStatementEquivale
* Returns the semantic version to import.
*
* @return Semantic version of module to import
* Returns the semantic version to import.
*
* @return Semantic version of module to import
+ * @deprecated Semantic version imports are deprecated.
*/
*/
+ @Deprecated(since = "8.0.4", forRemoval = true)
Optional<SemVer> getSemanticVersion();
/**
Optional<SemVer> getSemanticVersion();
/**