Skip to content

Commit 2ee70d6

Browse files
committed
Suppress serialization warning
1 parent f3ff98d commit 2ee70d6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

spring-web/src/main/java/org/springframework/web/util/HierarchicalUriComponents.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
* @since 3.1.3
4242
* @see <a href="http://tools.ietf.org/html/rfc3986#section-1.2.3">Hierarchical URIs</a>
4343
*/
44+
@SuppressWarnings("serial")
4445
final class HierarchicalUriComponents extends UriComponents {
4546

4647
private static final char PATH_DELIMITER = '/';

spring-web/src/main/java/org/springframework/web/util/OpaqueUriComponents.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
* @since 3.2
3434
* @see <a href="http://tools.ietf.org/html/rfc3986#section-1.2.3">Hierarchical vs Opaque URIs</a>
3535
*/
36+
@SuppressWarnings("serial")
3637
final class OpaqueUriComponents extends UriComponents {
3738

3839
private static final MultiValueMap<String, String> QUERY_PARAMS_NONE = new LinkedMultiValueMap<String, String>(0);

0 commit comments

Comments
 (0)