Clean up warnings

This commit is contained in:
Sam Brannen
2019-10-30 19:14:58 +01:00
parent 3c17178b16
commit 9f00eb68e9
19 changed files with 20 additions and 13 deletions

View File

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