Skip to content

Commit ad497c2

Browse files
committed
Merge branch '5.1.x'
2 parents 29d021a + 42fda0b commit ad497c2

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@ ext {
3434
groovyVersion = "2.5.6"
3535
hsqldbVersion = "2.4.1"
3636
jackson2Version = "2.9.8"
37-
jettyVersion = "9.4.15.v20190215"
37+
jettyVersion = "9.4.17.v20190418"
3838
junit5Version = "5.4.2"
3939
kotlinVersion = "1.3.30"
4040
log4jVersion = "2.11.2"
41-
nettyVersion = "4.1.34.Final"
41+
nettyVersion = "4.1.35.Final"
4242
reactorVersion = "Dysprosium-BUILD-SNAPSHOT"
4343
rxjavaVersion = "1.3.8"
4444
rxjavaAdapterVersion = "1.2.1"
4545
rxjava2Version = "2.2.8"
4646
slf4jVersion = "1.7.26" // spring-jcl + consistent 3rd party deps
4747
tiles3Version = "3.0.8"
48-
tomcatVersion = "9.0.17"
48+
tomcatVersion = "9.0.19"
4949
undertowVersion = "2.0.20.Final"
5050

5151
gradleScriptDir = "${rootProject.projectDir}/gradle"

spring-context/src/main/java/org/springframework/context/event/SimpleApplicationEventMulticaster.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ private void doInvokeListener(ApplicationListener listener, ApplicationEvent eve
177177
// Possibly a lambda-defined listener which we could not resolve the generic event type for
178178
// -> let's suppress the exception and just log a debug message.
179179
Log logger = LogFactory.getLog(getClass());
180-
if (logger.isDebugEnabled()) {
181-
logger.debug("Non-matching event type for listener: " + listener, ex);
180+
if (logger.isTraceEnabled()) {
181+
logger.trace("Non-matching event type for listener: " + listener, ex);
182182
}
183183
}
184184
else {

spring-web/spring-web.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dependencies {
3838
exclude group: "javax.servlet", module: "javax.servlet-api"
3939
}
4040
optional("org.eclipse.jetty:jetty-reactive-httpclient:1.0.3")
41-
optional("com.squareup.okhttp3:okhttp:3.14.0")
41+
optional("com.squareup.okhttp3:okhttp:3.14.1")
4242
optional("org.apache.httpcomponents:httpclient:4.5.8") {
4343
exclude group: "commons-logging", module: "commons-logging"
4444
}
@@ -75,7 +75,7 @@ dependencies {
7575
testCompile("org.apache.tomcat.embed:tomcat-embed-core:${tomcatVersion}")
7676
testCompile("org.eclipse.jetty:jetty-server")
7777
testCompile("org.eclipse.jetty:jetty-servlet")
78-
testCompile("com.squareup.okhttp3:mockwebserver:3.14.0")
78+
testCompile("com.squareup.okhttp3:mockwebserver:3.14.1")
7979
testCompile("org.jetbrains.kotlin:kotlin-reflect:${kotlinVersion}")
8080
testCompile("org.skyscreamer:jsonassert:1.5.0")
8181
testCompile("org.xmlunit:xmlunit-matchers:2.6.2")

spring-webflux/spring-webflux.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ dependencies {
5454
testCompile("org.eclipse.jetty:jetty-server")
5555
testCompile("org.eclipse.jetty:jetty-servlet")
5656
testCompile("org.eclipse.jetty:jetty-reactive-httpclient:1.0.3")
57-
testCompile("com.squareup.okhttp3:mockwebserver:3.14.0")
57+
testCompile("com.squareup.okhttp3:mockwebserver:3.14.1")
5858
testCompile("org.jetbrains.kotlin:kotlin-script-runtime:${kotlinVersion}")
5959
testCompile(project(":spring-core-coroutines"))
6060
testRuntime("org.jetbrains.kotlin:kotlin-script-util:${kotlinVersion}")

spring-webmvc/src/main/java/org/springframework/web/servlet/view/RedirectView.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -554,8 +554,9 @@ protected boolean isEligibleProperty(String key, @Nullable Object value) {
554554

555555
/**
556556
* Determine whether the given model element value is eligible for exposure.
557-
* <p>The default implementation considers primitives, Strings, Numbers, Dates,
558-
* URIs, URLs and Locale objects as eligible. This can be overridden in subclasses.
557+
* <p>The default implementation considers primitives, strings, numbers, dates,
558+
* URIs, URLs etc as eligible, according to {@link BeanUtils#isSimpleValueType}.
559+
* This can be overridden in subclasses.
559560
* @param value the model element value
560561
* @return whether the element value is eligible
561562
* @see BeanUtils#isSimpleValueType
@@ -572,7 +573,6 @@ protected boolean isEligibleValue(@Nullable Object value) {
572573
* @return the encoded output String
573574
* @throws UnsupportedEncodingException if thrown by the JDK URLEncoder
574575
* @see java.net.URLEncoder#encode(String, String)
575-
* @see java.net.URLEncoder#encode(String)
576576
*/
577577
protected String urlEncode(String input, String encodingScheme) throws UnsupportedEncodingException {
578578
return URLEncoder.encode(input, encodingScheme);

0 commit comments

Comments
 (0)