Skip to content

Commit 065c036

Browse files
committed
Update validation message
1 parent c524a53 commit 065c036

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

codegen/src/main/java/software/amazon/awssdk/codegen/naming/DefaultNamingStrategy.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -507,9 +507,8 @@ private void validateCustomerVisibleName(String name, String location) {
507507
ValidationErrorSeverity.DANGER,
508508
String.format(
509509
"Encountered a name or identifier that the customer will see (%s in the %s) with an underscore. "
510-
+ "This isn't idiomatic in Java. Please either remove the underscores or apply the "
511-
+ "'underscoresInNameBehavior' customization for this service (Supported "
512-
+ "'underscoresInNameBehavior' values: %s).", name, location, supportedBehaviors)
510+
+ "This isn't idiomatic in Java. Please either remove the underscores",
511+
name, location, supportedBehaviors)
513512
));
514513
}
515514
if (behavior != UnderscoresInNameBehavior.ALLOW) {

0 commit comments

Comments
 (0)