Reformat code

This commit is contained in:
Phillip Webb
2015-09-08 14:56:40 -07:00
parent 2615990ffb
commit 67402405db
56 changed files with 188 additions and 252 deletions

View File

@@ -226,7 +226,7 @@ public class EndpointWebMvcChildContextConfiguration {
// the same place)
this.server.customize(container);
// Then reset the error pages
container.setErrorPages(Collections.<ErrorPage> emptySet());
container.setErrorPages(Collections.<ErrorPage>emptySet());
// and add the management-specific bits
container.setPort(this.managementServerProperties.getPort());
container.setAddress(this.managementServerProperties.getAddress());

View File

@@ -241,7 +241,7 @@ public class ManagementWebSecurityAutoConfiguration {
}
if (this.endpointHandlerMapping == null) {
this.endpointHandlerMapping = new EndpointHandlerMapping(
Collections.<MvcEndpoint> emptySet());
Collections.<MvcEndpoint>emptySet());
}
}
}

View File

@@ -67,7 +67,8 @@ public abstract class AbstractJmxCacheStatisticsProvider<C extends Cache> implem
* {@code null} if none is found.
* @param cache the cache to handle
* @return the object name of the cache statistics MBean
* @throws MalformedObjectNameException if the {@link ObjectName} for that cache is invalid
* @throws MalformedObjectNameException if the {@link ObjectName} for that cache is
* invalid
*/
protected abstract ObjectName getObjectName(C cache)
throws MalformedObjectNameException;

View File

@@ -39,8 +39,8 @@ import org.springframework.web.client.RestTemplate;
* HTTP endpoint provided by the server. Data are buffered according to the
* {@link #setBufferSize(int) bufferSize} property, and only flushed automatically when
* the buffer size is reached. Users should either manually {@link #flush()} after writing
* a batch of data if that makes sense, or consider adding a {@link Scheduled
* Scheduled} task to flush periodically.
* a batch of data if that makes sense, or consider adding a {@link Scheduled Scheduled}
* task to flush periodically.
*
* @author Dave Syer
* @since 1.3.0

View File

@@ -72,7 +72,7 @@ public class MetricExportersTests {
public void exporter() {
this.export.setUpDefaults();
this.exporters = new MetricExporters(this.export);
this.exporters.setExporters(Collections.<String, Exporter> singletonMap("foo",
this.exporters.setExporters(Collections.<String, Exporter>singletonMap("foo",
new MetricCopyExporter(this.reader, this.writer)));
this.exporters.configureTasks(new ScheduledTaskRegistrar());
assertNotNull(this.exporters.getExporters());