You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by GitBox <gi...@apache.org> on 2022/09/08 11:56:47 UTC

[GitHub] [cayenne] stariy95 commented on a diff in pull request #520: CAY-2758 refactoring for extended TemplateType

stariy95 commented on code in PR #520:
URL: https://github.com/apache/cayenne/pull/520#discussion_r965861823


##########
cayenne-cgen/src/main/java/org/apache/cayenne/gen/ClassGenerationAction.java:
##########
@@ -107,23 +95,23 @@ public ClassGenerationAction(CgenConfiguration cgenConfig) {
 	public String defaultTemplateName(TemplateType type) {
 		switch (type) {

Review Comment:
   Could drop this switch completely



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cayenne.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org