From 6b86190ae8a423c72d369b7f825e9fe8a9effa81 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 8 Jun 2018 08:33:03 +0200 Subject: [PATCH] Remove unnecessary ConfigurationProperties Closes gh-13412 --- .../boot/actuate/endpoint/jmx/AuditEventsJmxEndpoint.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/jmx/AuditEventsJmxEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/jmx/AuditEventsJmxEndpoint.java index d8690d09f5..88e3cd6ac5 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/jmx/AuditEventsJmxEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/jmx/AuditEventsJmxEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2018 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. @@ -25,7 +25,6 @@ import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.boot.actuate.audit.AuditEvent; import org.springframework.boot.actuate.audit.AuditEventRepository; -import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.jmx.export.annotation.ManagedOperation; import org.springframework.util.Assert; import org.springframework.util.StringUtils; @@ -36,7 +35,6 @@ import org.springframework.util.StringUtils; * @author Vedran Pavic * @since 1.5.0 */ -@ConfigurationProperties(prefix = "endpoints.auditevents") public class AuditEventsJmxEndpoint extends AbstractJmxEndpoint { private static final String DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ssZ";