Skip to content

Commit 282a4ad

Browse files
committed
Fix checkstyle violations
1 parent 8a1588a commit 282a4ad

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* @author Stephane Nicoll
3232
* @since 5.1
3333
*/
34-
public class DataSize implements Comparable<DataSize> {
34+
public final class DataSize implements Comparable<DataSize> {
3535

3636
/**
3737
* The pattern for parsing.
Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
/*
2-
* Copyright 2002-2018 the original author or authors.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
16-
171
/**
182
* Useful unit data types.
193
*/
@@ -22,4 +6,4 @@
226
package org.springframework.util.unit;
237

248
import org.springframework.lang.NonNullApi;
25-
import org.springframework.lang.NonNullFields;
9+
import org.springframework.lang.NonNullFields;

0 commit comments

Comments
 (0)