Upgrade to Jackson 2.9.2
This commit is contained in:
parent
be9c096746
commit
16a08cb465
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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 {
|
|||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("deprecation")
|
||||
protected char[] applyJsonQuoting(String content) {
|
||||
return JsonStringEncoder.getInstance().quoteAsString(content);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue