Fix checkstyle in mdsal-binding2-dom-codec
[mdsal.git] / binding2 / mdsal-binding2-dom-codec / src / main / java / org / opendaylight / mdsal / binding / javav2 / dom / codec / impl / context / base / LeafNodeCodecContext.java
index 3645fbcb8886eb2ad71495ed5e30a73ac578a613..cfd8c073f0ca70f855ea47177198b4a36022e48b 100644 (file)
@@ -69,8 +69,7 @@ public final class LeafNodeCodecContext<D extends TreeNode> extends NodeCodecCon
                     return qnameDomValueFromString(codec, schema, (String) defaultValue, schemaContext);
                 }
                 return domValueFromString(codec, type, defaultValue);
-            }
-            else {
+            } else {
                 while (type.getBaseType() != null && type.getDefaultValue() == null) {
                     type = type.getBaseType();
                 }
@@ -149,7 +148,7 @@ public final class LeafNodeCodecContext<D extends TreeNode> extends NodeCodecCon
         return this;
     }
 
-    public final Method getGetter() {
+    public Method getGetter() {
         return getter;
     }