diff --git a/build.gradle b/build.gradle index bdf927d913..9162ca9a2f 100644 --- a/build.gradle +++ b/build.gradle @@ -34,18 +34,18 @@ ext { groovyVersion = "2.5.6" hsqldbVersion = "2.4.1" jackson2Version = "2.9.8" - jettyVersion = "9.4.15.v20190215" + jettyVersion = "9.4.17.v20190418" junit5Version = "5.4.2" kotlinVersion = "1.3.30" log4jVersion = "2.11.2" - nettyVersion = "4.1.34.Final" + nettyVersion = "4.1.35.Final" reactorVersion = "Dysprosium-BUILD-SNAPSHOT" rxjavaVersion = "1.3.8" rxjavaAdapterVersion = "1.2.1" rxjava2Version = "2.2.8" slf4jVersion = "1.7.26" // spring-jcl + consistent 3rd party deps tiles3Version = "3.0.8" - tomcatVersion = "9.0.17" + tomcatVersion = "9.0.19" undertowVersion = "2.0.20.Final" gradleScriptDir = "${rootProject.projectDir}/gradle" diff --git a/spring-context/src/main/java/org/springframework/context/event/SimpleApplicationEventMulticaster.java b/spring-context/src/main/java/org/springframework/context/event/SimpleApplicationEventMulticaster.java index 45fb811b08..f62ed6a9aa 100644 --- a/spring-context/src/main/java/org/springframework/context/event/SimpleApplicationEventMulticaster.java +++ b/spring-context/src/main/java/org/springframework/context/event/SimpleApplicationEventMulticaster.java @@ -177,8 +177,8 @@ public class SimpleApplicationEventMulticaster extends AbstractApplicationEventM // Possibly a lambda-defined listener which we could not resolve the generic event type for // -> let's suppress the exception and just log a debug message. Log logger = LogFactory.getLog(getClass()); - if (logger.isDebugEnabled()) { - logger.debug("Non-matching event type for listener: " + listener, ex); + if (logger.isTraceEnabled()) { + logger.trace("Non-matching event type for listener: " + listener, ex); } } else { diff --git a/spring-web/spring-web.gradle b/spring-web/spring-web.gradle index 34e02de820..53e619e440 100644 --- a/spring-web/spring-web.gradle +++ b/spring-web/spring-web.gradle @@ -38,7 +38,7 @@ dependencies { exclude group: "javax.servlet", module: "javax.servlet-api" } optional("org.eclipse.jetty:jetty-reactive-httpclient:1.0.3") - optional("com.squareup.okhttp3:okhttp:3.14.0") + optional("com.squareup.okhttp3:okhttp:3.14.1") optional("org.apache.httpcomponents:httpclient:4.5.8") { exclude group: "commons-logging", module: "commons-logging" } @@ -75,7 +75,7 @@ dependencies { testCompile("org.apache.tomcat.embed:tomcat-embed-core:${tomcatVersion}") testCompile("org.eclipse.jetty:jetty-server") testCompile("org.eclipse.jetty:jetty-servlet") - testCompile("com.squareup.okhttp3:mockwebserver:3.14.0") + testCompile("com.squareup.okhttp3:mockwebserver:3.14.1") testCompile("org.jetbrains.kotlin:kotlin-reflect:${kotlinVersion}") testCompile("org.skyscreamer:jsonassert:1.5.0") testCompile("org.xmlunit:xmlunit-matchers:2.6.2") diff --git a/spring-webflux/spring-webflux.gradle b/spring-webflux/spring-webflux.gradle index 5764030e62..10eca23c64 100644 --- a/spring-webflux/spring-webflux.gradle +++ b/spring-webflux/spring-webflux.gradle @@ -54,7 +54,7 @@ dependencies { testCompile("org.eclipse.jetty:jetty-server") testCompile("org.eclipse.jetty:jetty-servlet") testCompile("org.eclipse.jetty:jetty-reactive-httpclient:1.0.3") - testCompile("com.squareup.okhttp3:mockwebserver:3.14.0") + testCompile("com.squareup.okhttp3:mockwebserver:3.14.1") testCompile("org.jetbrains.kotlin:kotlin-script-runtime:${kotlinVersion}") testCompile(project(":spring-core-coroutines")) testRuntime("org.jetbrains.kotlin:kotlin-script-util:${kotlinVersion}") diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/RedirectView.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/RedirectView.java index 23bc5168fc..c6ee5ec016 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/RedirectView.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/RedirectView.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -554,8 +554,9 @@ public class RedirectView extends AbstractUrlBasedView implements SmartView { /** * Determine whether the given model element value is eligible for exposure. - *
The default implementation considers primitives, Strings, Numbers, Dates, - * URIs, URLs and Locale objects as eligible. This can be overridden in subclasses. + *
The default implementation considers primitives, strings, numbers, dates, + * URIs, URLs etc as eligible, according to {@link BeanUtils#isSimpleValueType}. + * This can be overridden in subclasses. * @param value the model element value * @return whether the element value is eligible * @see BeanUtils#isSimpleValueType @@ -572,7 +573,6 @@ public class RedirectView extends AbstractUrlBasedView implements SmartView { * @return the encoded output String * @throws UnsupportedEncodingException if thrown by the JDK URLEncoder * @see java.net.URLEncoder#encode(String, String) - * @see java.net.URLEncoder#encode(String) */ protected String urlEncode(String input, String encodingScheme) throws UnsupportedEncodingException { return URLEncoder.encode(input, encodingScheme);