浏览代码

Added Constant Tests to AllTests suite

Andreas Mülder 10 年之前
父节点
当前提交
2c16df5ec3

+ 1 - 1
plugins/org.yakindu.sct.generator.java/src/org/yakindu/sct/generator/java/Naming.xtend

@@ -141,7 +141,7 @@ class Naming implements JavaKeywords {
 	}
 	
 	def asIdentifier(String it) {
-		replaceAll('[^a-z&&[^A-Z&&[^0-9]]]', '_')
+		replaceAll('[^a-z&&[^A-Z&&[^0-9]]]', '_').toFirstLower
 	}
 	
 	def asName(String it) {