Reformat code with spring-javaformat 0.0.8

See gh-16418
This commit is contained in:
Phillip Webb
2019-04-02 10:50:42 -07:00
parent 0d8613f3eb
commit 2ff74b1559
142 changed files with 590 additions and 386 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2018 the original author or authors.
* Copyright 2012-2019 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.
@@ -59,7 +59,8 @@ public class LocalDevToolsAutoConfiguration {
* Local LiveReload configuration.
*/
@Configuration
@ConditionalOnProperty(prefix = "spring.devtools.livereload", name = "enabled", matchIfMissing = true)
@ConditionalOnProperty(prefix = "spring.devtools.livereload", name = "enabled",
matchIfMissing = true)
static class LiveReloadConfiguration {
private LiveReloadServer liveReloadServer;
@@ -104,7 +105,8 @@ public class LocalDevToolsAutoConfiguration {
* Local Restart Configuration.
*/
@Configuration
@ConditionalOnProperty(prefix = "spring.devtools.restart", name = "enabled", matchIfMissing = true)
@ConditionalOnProperty(prefix = "spring.devtools.restart", name = "enabled",
matchIfMissing = true)
static class RestartConfiguration {
private final DevToolsProperties properties;

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2018 the original author or authors.
* Copyright 2012-2019 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.
@@ -112,7 +112,8 @@ public class RemoteDevToolsAutoConfiguration {
/**
* Configuration for remote update and restarts.
*/
@ConditionalOnProperty(prefix = "spring.devtools.remote.restart", name = "enabled", matchIfMissing = true)
@ConditionalOnProperty(prefix = "spring.devtools.remote.restart", name = "enabled",
matchIfMissing = true)
static class RemoteRestartConfiguration {
@Autowired
@@ -151,7 +152,8 @@ public class RemoteDevToolsAutoConfiguration {
/**
* Configuration for remote debug HTTP tunneling.
*/
@ConditionalOnProperty(prefix = "spring.devtools.remote.debug", name = "enabled", matchIfMissing = true)
@ConditionalOnProperty(prefix = "spring.devtools.remote.debug", name = "enabled",
matchIfMissing = true)
static class RemoteDebugTunnelConfiguration {
@Autowired

View File

@@ -134,7 +134,8 @@ public class RemoteClientConfiguration {
* LiveReload configuration.
*/
@Configuration
@ConditionalOnProperty(prefix = "spring.devtools.livereload", name = "enabled", matchIfMissing = true)
@ConditionalOnProperty(prefix = "spring.devtools.livereload", name = "enabled",
matchIfMissing = true)
static class LiveReloadConfiguration {
@Autowired
@@ -181,7 +182,8 @@ public class RemoteClientConfiguration {
* Client configuration for remote update and restarts.
*/
@Configuration
@ConditionalOnProperty(prefix = "spring.devtools.remote.restart", name = "enabled", matchIfMissing = true)
@ConditionalOnProperty(prefix = "spring.devtools.remote.restart", name = "enabled",
matchIfMissing = true)
static class RemoteRestartClientConfiguration {
@Autowired
@@ -245,7 +247,8 @@ public class RemoteClientConfiguration {
* Client configuration for remote debug HTTP tunneling.
*/
@Configuration
@ConditionalOnProperty(prefix = "spring.devtools.remote.debug", name = "enabled", matchIfMissing = true)
@ConditionalOnProperty(prefix = "spring.devtools.remote.debug", name = "enabled",
matchIfMissing = true)
@ConditionalOnClass(Filter.class)
@Conditional(LocalDebugPortAvailableCondition.class)
static class RemoteDebugTunnelClientConfiguration {