Updated to String.format()

This commit is contained in:
spencergibb
2023-03-27 21:00:58 -04:00
parent 6e06b9661e
commit 4968a04710

View File

@@ -167,7 +167,7 @@ public class AbstractGatewayControllerEndpoint implements ApplicationEventPublis
}
if (!StringUtils.hasText(uri.getScheme())) {
handleError("The URI format [%s] is incorrect, scheme can not be empty".formatted(uri));
handleError(String.format("The URI format [%s] is incorrect, scheme can not be empty", uri));
}
}