Binding generator v2 - fix submodule class name 89/61589/1
authorJie Han <han.jie@zte.com.cn>
Tue, 18 Jul 2017 02:37:19 +0000 (10:37 +0800)
committerJie Han <han.jie@zte.com.cn>
Mon, 14 Aug 2017 08:07:39 +0000 (16:07 +0800)
- fix normalize submodule name in camel
Change-Id: Id4829b01b2319f8410b821c6814ea459069382ab
Signed-off-by: Jie Han <han.jie@zte.com.cn>
(cherry picked from commit 6b55aae217b7bc73b08c422e95ed7f22b01d30ec)

binding2/mdsal-binding2-java-api-generator/src/main/twirl/org/opendaylight/mdsal/binding/javav2/java/api/generator/yangModuleInfoTemplate.scala.txt

index 894f0ff293092ebbe59efc7c9bdac5d5ee586921..e322f7c5151917d5e13d52e381d027624f811f11 100644 (file)
@@ -55,7 +55,7 @@ public final class @{MODULE_INFO_CLASS_NAME} implements @{importedNames.get("yan
             return INSTANCE;
         }
 
-        @{classBody(submodule, normalizeSpecificIdentifier(submodule.getName + "Info", CLASS))}
+        @{classBody(submodule, normalizeSpecificIdentifier(submodule.getName, CLASS) + "Info")}
     }
 }
 }