Polish 'Use isXxx() instead of getXxx() for boolean properties'

See gh-43934
This commit is contained in:
Phillip Webb
2025-01-24 14:26:11 -08:00
parent 964abef6b3
commit 585030679a

View File

@@ -575,17 +575,6 @@ public class RabbitProperties {
this.validateServerCertificate = validateServerCertificate;
}
/**
* Returns verifyHostname.
* @return verifyHostname
* @deprecated since 3.5.0 for removal in 3.7.0 in favor of
* {@link #isVerifyHostname()}
*/
@Deprecated(since = "3.5.0", forRemoval = true)
public boolean getVerifyHostname() {
return this.verifyHostname;
}
public boolean isVerifyHostname() {
return this.verifyHostname;
}