Skip to content

Commit 939bd2b

Browse files
committed
Fix incomplete sentence in validation msg
1 parent 4420912 commit 939bd2b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +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",
510+
+ "This isn't idiomatic in Java. Please either remove the underscores or set the "
511+
+ "'underscoresInNameBehavior' customization to 'ALLOW'.",
511512
name, location, supportedBehaviors)
512513
));
513514
}

0 commit comments

Comments
 (0)