File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
spring-core/src/main/java/org/springframework/util/unit Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2019 the original author or authors.
2
+ * Copyright 2002-2020 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
16
16
17
17
package org .springframework .util .unit ;
18
18
19
+ import java .io .Serializable ;
19
20
import java .util .regex .Matcher ;
20
21
import java .util .regex .Pattern ;
21
22
48
49
* @since 5.1
49
50
* @see DataUnit
50
51
*/
51
- public final class DataSize implements Comparable <DataSize > {
52
+ @ SuppressWarnings ("serial" )
53
+ public final class DataSize implements Comparable <DataSize >, Serializable {
52
54
53
55
/**
54
56
* The pattern for parsing.
You can’t perform that action at this time.
0 commit comments