Cleanup DocumentedNode
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / stmt / rfc6020 / effective / CaseShorthandImpl.java
index 35b3a41be956f68c0d569a32afd014e058facb24..2b6b325c029856f4186aa506ae310e2337461cd8 100644 (file)
@@ -86,12 +86,12 @@ final class CaseShorthandImpl implements ChoiceCaseNode, DerivableSchemaNode {
     }
 
     @Override
-    public String getDescription() {
+    public Optional<String> getDescription() {
         return caseShorthandNode.getDescription();
     }
 
     @Override
-    public String getReference() {
+    public Optional<String> getReference() {
         return caseShorthandNode.getReference();
     }