Removes deprecated method use

This commit is contained in:
spencergibb
2020-12-20 13:35:20 -05:00
parent 5a1aa899f0
commit aadfc625f2

View File

@@ -117,7 +117,7 @@ public class ConsulConfigDataLocationResolver implements ConfigDataLocationResol
}
private List<String> getCustomContexts(UriComponents uriComponents, ConsulConfigProperties properties) {
if (StringUtils.isEmpty(uriComponents.getPath())) {
if (!StringUtils.hasText(uriComponents.getPath())) {
return Collections.emptyList();
}