Skip to content

Commit 16a08cb

Browse files
committed
Upgrade to Jackson 2.9.2
1 parent be9c096 commit 16a08cb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ configure(allprojects) { project ->
4545
ext.freemarkerVersion = "2.3.26-incubating"
4646
ext.groovyVersion = "2.4.12"
4747
ext.hsqldbVersion = "2.4.0"
48-
ext.jackson2Version = "2.9.1"
48+
ext.jackson2Version = "2.9.2"
4949
ext.jettyVersion = "9.4.7.v20170914"
5050
ext.junitJupiterVersion = "5.0.1"
5151
ext.junitPlatformVersion = "1.0.1"

spring-websocket/src/main/java/org/springframework/web/socket/sockjs/frame/Jackson2SockJsMessageCodec.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2015 the original author or authors.
2+
* Copyright 2002-2017 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.
@@ -71,6 +71,7 @@ public String[] decodeInputStream(InputStream content) throws IOException {
7171
}
7272

7373
@Override
74+
@SuppressWarnings("deprecation")
7475
protected char[] applyJsonQuoting(String content) {
7576
return JsonStringEncoder.getInstance().quoteAsString(content);
7677
}

0 commit comments

Comments
 (0)