From 0d7ee8a2df0b0147e628c30f53e9e91ad613111c Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 19 Aug 2015 11:59:05 +0200 Subject: [PATCH] Fix default value of restarter meta-data Closes gh-3773 --- .../autoconfigure/DevToolsProperties.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/autoconfigure/DevToolsProperties.java b/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/autoconfigure/DevToolsProperties.java index 0a5c359acc65..34eec348857b 100644 --- a/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/autoconfigure/DevToolsProperties.java +++ b/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/autoconfigure/DevToolsProperties.java @@ -33,13 +33,6 @@ @ConfigurationProperties(prefix = "spring.devtools") public class DevToolsProperties { - private static final String DEFAULT_RESTART_EXCLUDES = "META-INF/maven/**," - + "META-INF/resources/**,resources/**,static/**,public/**,templates/**"; - - private static final long DEFAULT_RESTART_POLL_INTERVAL = 1000; - - private static final long DEFAULT_RESTART_QUIET_PERIOD = 400; - private Restart restart = new Restart(); private Livereload livereload = new Livereload(); @@ -64,6 +57,14 @@ public RemoteDevToolsProperties getRemote() { */ public static class Restart { + private static final String DEFAULT_RESTART_EXCLUDES = "META-INF/maven/**," + + "META-INF/resources/**,resources/**,static/**,public/**,templates/**"; + + private static final long DEFAULT_RESTART_POLL_INTERVAL = 1000; + + private static final long DEFAULT_RESTART_QUIET_PERIOD = 400; + + /** * Enable automatic restart. */