From b3203058be9aba7abbbfa8091413a75603b270bc Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Wed, 1 Feb 2017 01:24:22 +0900 Subject: [PATCH] Fix an assertion in SkipPatternJarScanner Closes gh-8153 --- .../boot/context/embedded/tomcat/SkipPatternJarScanner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/SkipPatternJarScanner.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/SkipPatternJarScanner.java index f5665b4871..4f4c19065f 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/SkipPatternJarScanner.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/SkipPatternJarScanner.java @@ -50,7 +50,7 @@ class SkipPatternJarScanner extends StandardJarScanner { SkipPatternJarScanner(JarScanner jarScanner, Set patterns) { Assert.notNull(jarScanner, "JarScanner must not be null"); - Assert.notNull(jarScanner, "Patterns must not be null"); + Assert.notNull(patterns, "Patterns must not be null"); this.jarScanner = jarScanner; this.patterns = patterns; setPatternToTomcat8SkipFilter();