mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Polish "Polish empty string checks"
See gh-23550
This commit is contained in:
parent
5cb07e292d
commit
5feaf2bc1a
@ -290,7 +290,7 @@ public class RabbitProperties {
|
||||
}
|
||||
|
||||
public void setVirtualHost(String virtualHost) {
|
||||
this.virtualHost = StringUtils.hasLength(virtualHost) ? virtualHost : "/";
|
||||
this.virtualHost = StringUtils.hasText(virtualHost) ? virtualHost : "/";
|
||||
}
|
||||
|
||||
public AddressShuffleMode getAddressShuffleMode() {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
* Copyright 2012-2020 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
* Copyright 2012-2020 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
Loading…
Reference in New Issue
Block a user