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-2018 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
31
32
* @author Stephane Nicoll
32
33
* @since 5.1
33
34
*/
34
- public final class DataSize implements Comparable <DataSize > {
35
+ @ SuppressWarnings ("serial" )
36
+ public final class DataSize implements Comparable <DataSize >, Serializable {
35
37
36
38
/**
37
39
* The pattern for parsing.
You can’t perform that action at this time.
0 commit comments