Shorten java.util.Optional reference
[mdsal.git] / binding2 / mdsal-binding2-dom-codec / src / main / java / org / opendaylight / mdsal / binding / javav2 / dom / codec / impl / context / base / LeafNodeCodecContext.java
index ae4b7bc1ef743bec2f380c809ef44db7f7477336..3676ffe9d07a84c85f1fc2a11072502c0045e108 100644 (file)
@@ -62,7 +62,7 @@ public final class LeafNodeCodecContext<D extends TreeNode> extends NodeCodecCon
             final SchemaContext schemaContext) {
         if (schema instanceof LeafSchemaNode) {
             TypeDefinition<?> type = ((LeafSchemaNode) schema).getType();
-            java.util.Optional<? extends Object> defaultValue = type.getDefaultValue();
+            Optional<? extends Object> defaultValue = type.getDefaultValue();
             if (defaultValue.isPresent()) {
                 if (type instanceof IdentityrefTypeDefinition) {
                     return qnameDomValueFromString(codec, schema, (String) defaultValue.get(), schemaContext);