Removed deprecations

This commit is contained in:
Marcin Grzejszczak
2021-11-16 22:59:15 +01:00
parent bf1c8af2e3
commit 6fd4280d12
32 changed files with 197 additions and 659 deletions

View File

@@ -145,7 +145,7 @@ public abstract class ContractTestsBase {
}
private void setupConnection(String destination, YamlContract contract) {
if (StringUtils.isEmpty(destination)) {
if (!StringUtils.hasText(destination)) {
return;
}
log.info("Setting up destination [{}]", destination);

View File

@@ -142,7 +142,7 @@ public class MessagingAutoConfig {
}
private String getRequiredProperty(String name, String value) {
if (StringUtils.isEmpty(value)) {
if (!StringUtils.hasText(value)) {
throw new IllegalStateException("The property [" + name + "] must not be empty!");
}
return value;