Skip to content

Commit 1c2dbec

Browse files
committed
Merge branch '6.1.x'
2 parents 37b110a + fec6ba4 commit 1c2dbec

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spring-core/src/main/java/org/springframework/util/unit/DataSize.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@
2525
import org.springframework.util.StringUtils;
2626

2727
/**
28-
* A data size, such as '12MB'.
29-
*
30-
* <p>This class models data size in terms of bytes and is immutable and thread-safe.
28+
* A data size, such as '12MB'. This class models data size in terms of
29+
* bytes and is immutable and thread-safe.
3130
*
3231
* <p>The terms and units used in this class are based on
3332
* <a href="https://en.wikipedia.org/wiki/Binary_prefix">binary prefixes</a>

spring-core/src/main/java/org/springframework/util/unit/DataUnit.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2019 the original author or authors.
2+
* Copyright 2002-2024 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.
@@ -81,6 +81,7 @@ DataSize size() {
8181
return this.size;
8282
}
8383

84+
8485
/**
8586
* Return the {@link DataUnit} matching the specified {@code suffix}.
8687
* @param suffix one of the standard suffixes

0 commit comments

Comments
 (0)