Skip to content

Commit 6e3c3c5

Browse files
committed
Polish whitespace and formatting
1 parent 40e8d3f commit 6e3c3c5

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

spring-core/src/main/java/org/springframework/core/annotation/AnnotationAwareOrderComparator.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,12 @@
3434
*/
3535
public class AnnotationAwareOrderComparator extends OrderComparator {
3636

37+
/**
38+
* Shared default instance of AnnotationAwareOrderComparator.
39+
*/
3740
public static AnnotationAwareOrderComparator INSTANCE = new AnnotationAwareOrderComparator();
3841

42+
3943
@Override
4044
protected int getOrder(Object obj) {
4145
if (obj instanceof Ordered) {

spring-core/src/test/java/org/springframework/core/annotation/AnnotationAwareOrderComparatorTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012 the original author or authors.
2+
* Copyright 2002-2012 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.
@@ -22,7 +22,7 @@
2222

2323
/**
2424
* Unit tests for {@link AnnotationAwareOrderComparator}.
25-
*
25+
*
2626
* @author Oliver Gierke
2727
*/
2828
public class AnnotationAwareOrderComparatorTests {

0 commit comments

Comments
 (0)