Polish whitespace and formatting
This commit is contained in:
parent
40e8d3f1a9
commit
6e3c3c58b5
|
|
@ -34,8 +34,12 @@ import org.springframework.core.Ordered;
|
|||
*/
|
||||
public class AnnotationAwareOrderComparator extends OrderComparator {
|
||||
|
||||
/**
|
||||
* Shared default instance of AnnotationAwareOrderComparator.
|
||||
*/
|
||||
public static AnnotationAwareOrderComparator INSTANCE = new AnnotationAwareOrderComparator();
|
||||
|
||||
|
||||
@Override
|
||||
protected int getOrder(Object obj) {
|
||||
if (obj instanceof Ordered) {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2012 the original author or authors.
|
||||
* Copyright 2002-2012 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
@ -22,7 +22,7 @@ import org.junit.Test;
|
|||
|
||||
/**
|
||||
* Unit tests for {@link AnnotationAwareOrderComparator}.
|
||||
*
|
||||
*
|
||||
* @author Oliver Gierke
|
||||
*/
|
||||
public class AnnotationAwareOrderComparatorTests {
|
||||
|
|
|
|||
Loading…
Reference in New Issue