String performance and maintenability
[controller.git] / opendaylight / config / yang-jmx-generator-plugin / src / test / java / org / opendaylight / controller / config / yangjmxgenerator / plugin / MbeASTVisitor.java
index 3fc32dc0fcd692de139f7beb8d82fd445205c2e3..57770c3927becbe52e300ffaed30bf98cbc74c55 100644 (file)
@@ -49,7 +49,7 @@ class MbeASTVisitor extends SieASTVisitor {
             if (parent instanceof MethodDeclaration) {
                 // remember only top level description annotation
                 String reqVal = expr.getPairs().get(0).toString();
-                requireIfc.put(((MethodDeclaration) parent).getName().toString(), reqVal);
+                requireIfc.put(((MethodDeclaration) parent).getName(), reqVal);
             }
         }
     }