Skip to content

Commit 5850306

Browse files
committed
Polish 'Use isXxx() instead of getXxx() for boolean properties'
See gh-43934
1 parent 964abef commit 5850306

File tree

1 file changed

+0
-11
lines changed
  • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp

1 file changed

+0
-11
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitProperties.java

-11
Original file line numberDiff line numberDiff line change
@@ -575,17 +575,6 @@ public void setValidateServerCertificate(boolean validateServerCertificate) {
575575
this.validateServerCertificate = validateServerCertificate;
576576
}
577577

578-
/**
579-
* Returns verifyHostname.
580-
* @return verifyHostname
581-
* @deprecated since 3.5.0 for removal in 3.7.0 in favor of
582-
* {@link #isVerifyHostname()}
583-
*/
584-
@Deprecated(since = "3.5.0", forRemoval = true)
585-
public boolean getVerifyHostname() {
586-
return this.verifyHostname;
587-
}
588-
589578
public boolean isVerifyHostname() {
590579
return this.verifyHostname;
591580
}

0 commit comments

Comments
 (0)