Consistent formatting of license headers, package javadocs, and import declarations

This commit is contained in:
Juergen Hoeller
2014-10-21 00:30:42 +02:00
parent b6fdcffc94
commit 8325b10080
2059 changed files with 3944 additions and 5473 deletions

View File

@@ -1,4 +1,3 @@
/**
* Spring's repackaging of
* <a href="http://asm.ow2.org">org.objectweb.asm 5.0</a>
@@ -12,7 +11,5 @@
* and javadocs are not available here. See the original ObjectWeb
* <a href="http://asm.ow2.org/asm50/javadoc/user">ASM 5.0 javadocs</a>
* for details when working with these classes.
*
* @since 3.2
*/
package org.springframework.asm;

View File

@@ -1,4 +1,3 @@
/**
* Spring's repackaging of
* <a href="http://cglib.sourceforge.net">net.sf.cglib 3.1</a>
@@ -12,7 +11,5 @@
* and javadocs are not available here. See the original
* <a href="http://cglib.sourceforge.net/apidocs">CGLIB 3.1 javadocs</a>
* for details when working with these classes.
*
* @since 3.2
*/
package org.springframework.cglib;

View File

@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,

View File

@@ -1,8 +1,4 @@
/**
*
* Core support package for Java 5 annotations.
*
*/
package org.springframework.core.annotation;

View File

@@ -1,8 +1,4 @@
/**
*
* SPI to implement Converters for the type conversion system.
*
*/
package org.springframework.core.convert.converter;

View File

@@ -1,8 +1,4 @@
/**
*
* Type conversion system API.
*
*/
package org.springframework.core.convert;

View File

@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,

View File

@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,

View File

@@ -1,8 +1,4 @@
/**
*
* Default implementation of the type conversion system.
*
*/
package org.springframework.core.convert.support;

View File

@@ -1,7 +1,5 @@
/**
* Spring's environment abstraction consisting of bean definition
* profile and hierarchical property source support.
* @author Chris Beams
* @since 3.1
*/
package org.springframework.core.env;

View File

@@ -1,8 +1,4 @@
/**
*
* Generic abstraction for (file-based) resources, used throughout the framework.
*
*/
package org.springframework.core.io;

View File

@@ -1,9 +1,5 @@
/**
*
* Support classes for Spring's resource abstraction.
* Includes a ResourcePatternResolver mechanism.
*
*/
package org.springframework.core.io.support;

View File

@@ -1,9 +1,5 @@
/**
*
* Provides basic classes for exception handling and version detection,
* and other core helpers that are not specific to any part of the framework.
*
*/
package org.springframework.core;

View File

@@ -1,10 +1,6 @@
/**
*
* Root package for Spring's serializer interfaces and implementations.
* Provides an abstraction over various serialization techniques.
* Includes exceptions for serialization and deserialization failures.
*
*/
package org.springframework.core.serializer;

View File

@@ -1,9 +1,5 @@
/**
*
* Support classes for Spring's serializer abstraction.
* Includes adapters to the Converter SPI.
*
*/
package org.springframework.core.serializer.support;

View File

@@ -1,8 +1,4 @@
/**
*
* Support for styling values as Strings, with ToStringCreator as central class.
*
*/
package org.springframework.core.style;

View File

@@ -1,9 +1,5 @@
/**
*
* This package defines Spring's core TaskExecutor abstraction,
* and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.
*
*/
package org.springframework.core.task;

View File

@@ -1,9 +1,5 @@
/**
*
* Support classes for Spring's TaskExecutor abstraction.
* Includes an adapter for the standard ExecutorService interface.
*
*/
package org.springframework.core.task.support;

View File

@@ -1,8 +1,4 @@
/**
*
* Support classes for reading annotation and class-level metadata.
*
*/
package org.springframework.core.type.classreading;

View File

@@ -1,8 +1,4 @@
/**
*
* Core support package for type filtering (e.g. for classpath scanning).
*
*/
package org.springframework.core.type.filter;

View File

@@ -1,8 +1,4 @@
/**
*
* Core support package for type introspection.
*
*/
package org.springframework.core.type;

View File

@@ -1,9 +1,5 @@
/**
*
* Annotations indicating the use of core Java/JDK API beyond the API level of JDK 6 update 18.
* Used descriptively within the framework codebase; validated by Animal Sniffer at build time.
*
*/
package org.springframework.lang;

View File

@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,

View File

@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,

View File

@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,

View File

@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -21,7 +21,6 @@ import java.net.ServerSocket;
import java.util.Random;
import java.util.SortedSet;
import java.util.TreeSet;
import javax.net.ServerSocketFactory;
/**

View File

@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,

View File

@@ -21,8 +21,6 @@ import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.lang.reflect.WildcardType;
import org.springframework.util.ClassUtils;
/**
* Utility to work with Java 5 generic type parameters.
* Mainly for internal use within the framework.

View File

@@ -1,8 +1,4 @@
/**
*
* A generic back-off abstraction.
*
*/
package org.springframework.util.backoff;

View File

@@ -1,9 +1,5 @@
/**
*
* Useful generic {@code java.util.Comparator} implementations,
* such as an invertible comparator and a compound comparator.
*
*/
package org.springframework.util.comparator;

View File

@@ -16,14 +16,14 @@
package org.springframework.util.concurrent;
import org.springframework.util.Assert;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import java.util.concurrent.atomic.AtomicReference;
import org.springframework.util.Assert;
/**
* A {@link org.springframework.util.concurrent.ListenableFuture ListenableFuture}
* whose value can be set via {@link #set(Object)} or

View File

@@ -1,8 +1,4 @@
/**
*
* Useful generic {@code java.util.concurrent.Future} extension.
*
*/
package org.springframework.util.concurrent;

View File

@@ -1,9 +1,5 @@
/**
*
* Miscellaneous utility classes, such as String manipulation utilities,
* a Log4J configurer, and a state holder for paged lists of objects.
*
*/
package org.springframework.util;

View File

@@ -17,7 +17,6 @@
package org.springframework.util.xml;
import java.util.Iterator;
import javax.xml.namespace.QName;
import javax.xml.stream.Location;
import javax.xml.stream.XMLEventReader;
@@ -37,13 +36,14 @@ import javax.xml.stream.events.StartDocument;
import javax.xml.stream.events.StartElement;
import javax.xml.stream.events.XMLEvent;
import org.springframework.util.Assert;
import org.springframework.util.StringUtils;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.ext.Locator2;
import org.xml.sax.helpers.AttributesImpl;
import org.springframework.util.Assert;
import org.springframework.util.StringUtils;
/**
* SAX {@code XMLReader} that reads from a StAX {@code XMLEventReader}. Consumes {@code XMLEvents} from
* an {@code XMLEventReader}, and calls the corresponding methods on the SAX callback interfaces.

View File

@@ -1,9 +1,5 @@
/**
*
* Miscellaneous utility classes for XML parsing and transformation,
* such as error handlers that log warnings via Commons Logging.
*
*/
package org.springframework.util.xml;