From 5250fb127a131b5970ac0f9da6bee972184691b2 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 10 Jun 2016 17:39:23 +0200 Subject: [PATCH] Fix broken condition See gh-6041 --- .../embedded/jetty/JettyEmbeddedServletContainerFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/JettyEmbeddedServletContainerFactory.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/JettyEmbeddedServletContainerFactory.java index 142d584b3c..f1c8e35bb9 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/JettyEmbeddedServletContainerFactory.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/JettyEmbeddedServletContainerFactory.java @@ -251,7 +251,7 @@ public class JettyEmbeddedServletContainerFactory configureSslClientAuth(factory, ssl); configureSslPasswords(factory, ssl); factory.setCertAlias(ssl.getKeyAlias()); - if (!ObjectUtils.isEmpty(ssl.getCiphers() != null)) { + if (!ObjectUtils.isEmpty(ssl.getCiphers())) { factory.setIncludeCipherSuites(ssl.getCiphers()); factory.setExcludeCipherSuites(); }