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 11/*
2- * Copyright 2002-2019 the original author or authors.
2+ * Copyright 2002-2020 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1616
1717package org .springframework .util .unit ;
1818
19+ import java .io .Serializable ;
1920import java .util .regex .Matcher ;
2021import java .util .regex .Pattern ;
2122
4849 * @since 5.1
4950 * @see DataUnit
5051 */
51- public final class DataSize implements Comparable <DataSize > {
52+ @ SuppressWarnings ("serial" )
53+ public final class DataSize implements Comparable <DataSize >, Serializable {
5254
5355 /**
5456 * The pattern for parsing.
You can’t perform that action at this time.
0 commit comments