From 7e49a023566791f32f3b2c4898a0d2e562fd5afa Mon Sep 17 00:00:00 2001 From: izeye Date: Wed, 1 Jul 2015 08:47:27 +0900 Subject: [PATCH] Fix Restarter.setEnabled() to use parameter Closes gh-3370 --- .../org/springframework/boot/devtools/restart/Restarter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/Restarter.java b/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/Restarter.java index 043da7111d..896f402510 100644 --- a/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/Restarter.java +++ b/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/Restarter.java @@ -195,7 +195,7 @@ public class Restarter { * @param enabled if restart support is enabled */ private void setEnabled(boolean enabled) { - this.enabled = false; + this.enabled = enabled; } /**