BUG-5970: do not add value to union hashCode/equals/toString
[mdsal.git] / binding / mdsal-binding-java-api-generator / src / main / java / org / opendaylight / yangtools / sal / java / api / generator / BaseTemplate.xtend
index f39f7a3d1d573bb65d4ffa203e1e3a3ef6d194e3..43cfaae1c4424259ec924635aed5abb232ba7762 100644 (file)
@@ -103,7 +103,7 @@ abstract class BaseTemplate {
      * generated property with data about field which is generated as the getter method
      * @return string with the getter method source code in JAVA format
      */
-    final protected def getterMethod(GeneratedProperty field) {
+    protected def getterMethod(GeneratedProperty field) {
         '''
             public «field.returnType.importedName» «field.getterMethodName»() {
                 «IF field.returnType.importedName.contains("[]")»