Browse Source

Upgrade to Jackson 2.9.2

pull/1566/head
Juergen Hoeller 7 years ago
parent
commit
16a08cb465
  1. 2
      build.gradle
  2. 3
      spring-websocket/src/main/java/org/springframework/web/socket/sockjs/frame/Jackson2SockJsMessageCodec.java

2
build.gradle

@ -45,7 +45,7 @@ configure(allprojects) { project -> @@ -45,7 +45,7 @@ configure(allprojects) { project ->
ext.freemarkerVersion = "2.3.26-incubating"
ext.groovyVersion = "2.4.12"
ext.hsqldbVersion = "2.4.0"
ext.jackson2Version = "2.9.1"
ext.jackson2Version = "2.9.2"
ext.jettyVersion = "9.4.7.v20170914"
ext.junitJupiterVersion = "5.0.1"
ext.junitPlatformVersion = "1.0.1"

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

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2015 the original author or authors.
* Copyright 2002-2017 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.
@ -71,6 +71,7 @@ public class Jackson2SockJsMessageCodec extends AbstractSockJsMessageCodec { @@ -71,6 +71,7 @@ public class Jackson2SockJsMessageCodec extends AbstractSockJsMessageCodec {
}
@Override
@SuppressWarnings("deprecation")
protected char[] applyJsonQuoting(String content) {
return JsonStringEncoder.getInstance().quoteAsString(content);
}

Loading…
Cancel
Save