Removed deprecations
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user