From 1e3bae9ba27a215654cfe28b81bfa933458168c1 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Thu, 1 Feb 2018 13:02:57 -0800 Subject: [PATCH] Third attempt to fix polish commit --- .../endpoint/invoke/reflect/ReflectiveOperationInvoker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/invoke/reflect/ReflectiveOperationInvoker.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/invoke/reflect/ReflectiveOperationInvoker.java index 4f437b2227..fff55074bc 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/invoke/reflect/ReflectiveOperationInvoker.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/invoke/reflect/ReflectiveOperationInvoker.java @@ -86,7 +86,7 @@ public class ReflectiveOperationInvoker implements OperationInvoker { private boolean isMissing(Map arguments, OperationParameter parameter) { if (!parameter.isMandatory()) { - return true; + return false; } return arguments.get(parameter.getName()) == null; }