Skip to content

Commit cf8992a

Browse files
committed
Fix format missing Locale.ROOT
1 parent aa3a282 commit cf8992a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/openapi-generator/src/main/java/org/openapitools/codegen/OpenAPINormalizer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ public void processRules(Map<String, String> inputRules) {
276276
try {
277277
filter = new Filter(filters);
278278
} catch (RuntimeException e) {
279-
String message = String.format("FILTER rule [%s] must be in the form of `%s:name1|name2|name3` or `%s:get|post|put` or `%s:tag1|tag2|tag3` or `%s:/v1|/v2`. Error: %s",
279+
String message = String.format(Locale.ROOT, "FILTER rule [%s] must be in the form of `%s:name1|name2|name3` or `%s:get|post|put` or `%s:tag1|tag2|tag3` or `%s:/v1|/v2`. Error: %s",
280280
filters, Filter.OPERATION_ID, Filter.METHOD, Filter.TAG, Filter.PATH, e.getMessage());
281281
// throw an exception. This is a breaking change compared to pre 7.16.0
282282
// Workaround: fix the syntax!

0 commit comments

Comments
 (0)