mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-11 04:04:07 +00:00
Fix checkstyle violation
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ class DefaultEndpointObjectNameFactory implements EndpointObjectNameFactory {
|
||||
return this.environment.getProperty("spring.jmx.default-domain",
|
||||
"org.springframework.boot");
|
||||
}
|
||||
|
||||
|
||||
private boolean hasMBean(String baseObjectName) throws MalformedObjectNameException {
|
||||
ObjectName query = new ObjectName(baseObjectName + ",*");
|
||||
return !this.mBeanServer.queryNames(query, null).isEmpty();
|
||||
|
||||
Reference in New Issue
Block a user