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 {
|
public class AnnotationAwareOrderComparator extends OrderComparator {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Shared default instance of AnnotationAwareOrderComparator.
|
||||||
|
*/
|
||||||
public static AnnotationAwareOrderComparator INSTANCE = new AnnotationAwareOrderComparator();
|
public static AnnotationAwareOrderComparator INSTANCE = new AnnotationAwareOrderComparator();
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected int getOrder(Object obj) {
|
protected int getOrder(Object obj) {
|
||||||
if (obj instanceof Ordered) {
|
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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue