Polish whitespace and formatting

This commit is contained in:
Phillip Webb 2012-11-26 09:34:22 -08:00
parent 40e8d3f1a9
commit 6e3c3c58b5
2 changed files with 6 additions and 2 deletions

View File

@ -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) {

View File

@ -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 {