Skip to content

Commit ed901f9

Browse files
committed
- fixes interface names that should contain property name
1 parent d85b845 commit ed901f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Templates/Java/BaseJavaModel.template.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
} else if (c is OdcmProperty && c.AsOdcmProperty().IsCollection) {
3636
return c.AsOdcmProperty().Projection.Type.Name.ToUpperFirstChar();
3737
} else if (c is OdcmProperty && c.AsOdcmProperty().Projection.Type is OdcmPrimitiveType) {
38-
return ClassTypeName(c) + c.AsOdcmProperty().Projection.Type.Name.ToUpperFirstChar();
38+
return ClassTypeName(c) + c.Name.SanitizePropertyName(c).ToUpperFirstChar() + c.AsOdcmProperty().Projection.Type.Name.ToUpperFirstChar();
3939
} else if (c is OdcmProperty) {
4040
return c.AsOdcmProperty().Projection.Type.Name.ToUpperFirstChar();
4141
}

0 commit comments

Comments
 (0)