diff --git a/spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/JCacheOperation.java b/spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/JCacheOperation.java index 84eba79bcde..94a384dd6ca 100644 --- a/spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/JCacheOperation.java +++ b/spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/JCacheOperation.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2015 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. @@ -28,21 +28,21 @@ import org.springframework.cache.interceptor.CacheResolver; *
A cache operation can be statically cached as it does not contain
* any runtime operation of a specific cache invocation.
*
- * @param the type of the JSR-107 annotation
* @author Stephane Nicoll
* @since 4.1
+ * @param the type of the JSR-107 annotation
*/
public interface JCacheOperation extends BasicOperation, CacheMethodDetails {
/**
- * Return the {@link CacheResolver} instance to use to resolve the cache to
- * use for this operation.
+ * Return the {@link CacheResolver} instance to use to resolve the cache
+ * to use for this operation.
*/
CacheResolver getCacheResolver();
/**
- * Return the {@link CacheInvocationParameter} instances based on the specified
- * method arguments.
+ * Return the {@link CacheInvocationParameter} instances based on the
+ * specified method arguments.
* The method arguments must match the signature of the related method invocation
* @param values the parameters value for a particular invocation
*/
diff --git a/spring-context/src/main/java/org/springframework/context/ApplicationListener.java b/spring-context/src/main/java/org/springframework/context/ApplicationListener.java
index a7eea9b5f92..54d22825ff8 100644
--- a/spring-context/src/main/java/org/springframework/context/ApplicationListener.java
+++ b/spring-context/src/main/java/org/springframework/context/ApplicationListener.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2015 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.
diff --git a/spring-context/src/main/java/org/springframework/context/PayloadApplicationEvent.java b/spring-context/src/main/java/org/springframework/context/PayloadApplicationEvent.java
index 1829286ab08..c0b46fb3a83 100644
--- a/spring-context/src/main/java/org/springframework/context/PayloadApplicationEvent.java
+++ b/spring-context/src/main/java/org/springframework/context/PayloadApplicationEvent.java
@@ -20,25 +20,26 @@ import org.springframework.util.Assert;
/**
* An {@link ApplicationEvent} that carries an arbitrary payload.
- *
- * Mainly intended for internal use within the framework.
*
- * @param Mainly intended for internal use within the framework.
+ *
* @author Stephane Nicoll
* @since 4.2
+ * @param This is the most flexible of the Converter SPI interfaces, but also the most complex.
* It is flexible in that a GenericConverter may support converting between multiple source/target
* type pairs (see {@link #getConvertibleTypes()}. In addition, GenericConverter implementations
- * have access to source/target {@link TypeDescriptor field context} during the type conversion process.
- * This allows for resolving source and target field metadata such as annotations and generics
- * information, which can be used influence the conversion logic.
+ * have access to source/target {@link TypeDescriptor field context} during the type conversion
+ * process. This allows for resolving source and target field metadata such as annotations and
+ * generics information, which can be used influence the conversion logic.
*
* This interface should generally not be used when the simpler {@link Converter} or
* {@link ConverterFactory} interfaces are sufficient.
@@ -49,9 +49,8 @@ public interface GenericConverter {
/**
* Return the source and target types which this converter can convert between. Each
* entry is a convertible source-to-target type pair.
- *
- * For {@link ConditionalConverter conditional} converters this method may return
- * {@code null} to indicate all source-to-target pairs should be considered. *
+ * For {@link ConditionalConverter conditional} converters this method may return
+ * {@code null} to indicate all source-to-target pairs should be considered.
*/
Set If not explicitly specified, this implementation will use
* {@linkplain SoftReference soft entry references}.
*
- * @param Also supports discovering and invoking exception handling methods to process
* exceptions raised during message handling.
*
- * @param the type of payload for in and outbound messages
- *
* @author Rossen Stoyanchev
* @since 4.0
+ * @param the type of payload for in and outbound messages
*/
public interface TcpConnectionHandler {
diff --git a/spring-messaging/src/main/java/org/springframework/messaging/tcp/TcpOperations.java b/spring-messaging/src/main/java/org/springframework/messaging/tcp/TcpOperations.java
index 9dfb63f68b0..c90a87e9e16 100644
--- a/spring-messaging/src/main/java/org/springframework/messaging/tcp/TcpOperations.java
+++ b/spring-messaging/src/main/java/org/springframework/messaging/tcp/TcpOperations.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2002-2013 the original author or authors.
+ * Copyright 2002-2015 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.
@@ -21,10 +21,9 @@ import org.springframework.util.concurrent.ListenableFuture;
/**
* A contract for establishing TCP connections.
*
- * @param the type of payload for in and outbound messages
- *
* @author Rossen Stoyanchev
* @since 4.0
+ * @param the type of payload for in and outbound messages
*/
public interface TcpOperations {
diff --git a/spring-messaging/src/main/java/org/springframework/messaging/tcp/reactor/AbstractPromiseToListenableFutureAdapter.java b/spring-messaging/src/main/java/org/springframework/messaging/tcp/reactor/AbstractPromiseToListenableFutureAdapter.java
index 7f20892576f..9874dfd1e6e 100644
--- a/spring-messaging/src/main/java/org/springframework/messaging/tcp/reactor/AbstractPromiseToListenableFutureAdapter.java
+++ b/spring-messaging/src/main/java/org/springframework/messaging/tcp/reactor/AbstractPromiseToListenableFutureAdapter.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2002-2014 the original author or authors.
+ * Copyright 2002-2015 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.
@@ -34,11 +34,10 @@ import org.springframework.util.concurrent.SuccessCallback;
* Adapts a reactor {@link Promise} to {@link ListenableFuture} optionally converting
* the result Object type {@code the payload type of Spring Message's read from
- * and written to the TCP stream
- *
* @author Rossen Stoyanchev
+ * @since 4.0
+ * @param the payload type of Spring Message's read from and written to
+ * the TCP stream
*/
public class Reactor11TcpConnection implements TcpConnection {
@@ -42,6 +41,7 @@ public class Reactor11TcpConnection implements TcpConnection {
this.channel = connection;
}
+
@Override
public ListenableFuture message) {
Promise For each registered handler method, a unique mapping is maintained with
* subclasses defining the details of the mapping type {@code The source type converters created by this factory can convert from
- * @param the source type converters created by this factory can convert from
+ * @param {
diff --git a/spring-core/src/main/java/org/springframework/core/convert/converter/ConvertingComparator.java b/spring-core/src/main/java/org/springframework/core/convert/converter/ConvertingComparator.java
index 31c511282fc..a6b5a8f41b8 100644
--- a/spring-core/src/main/java/org/springframework/core/convert/converter/ConvertingComparator.java
+++ b/spring-core/src/main/java/org/springframework/core/convert/converter/ConvertingComparator.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2015 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.
@@ -29,9 +29,9 @@ import org.springframework.util.comparator.ComparableComparator;
* {@code Comparator}.
*
* @author Phillip Webb
+ * @since 3.2
* @param the source type
* @param implements Comparator {
@@ -42,7 +42,6 @@ public class ConvertingComparator implements Comparator {
/**
* Create a new {@link ConvertingComparator} instance.
- *
* @param converter the converter
*/
@SuppressWarnings("unchecked")
@@ -52,7 +51,6 @@ public class ConvertingComparator implements Comparator {
/**
* Create a new {@link ConvertingComparator} instance.
- *
* @param comparator the underlying comparator used to compare the converted values
* @param converter the converter
*/
@@ -65,15 +63,14 @@ public class ConvertingComparator implements Comparator {
/**
* Create a new {@link ComparableComparator} instance.
- *
* @param comparator the underlying comparator
* @param conversionService the conversion service
* @param targetType the target type
*/
- public ConvertingComparator(Comparator(
- conversionService, targetType));
+ public ConvertingComparator(
+ Comparator(conversionService, targetType));
}
@@ -87,14 +84,11 @@ public class ConvertingComparator implements Comparator {
/**
* Create a new {@link ConvertingComparator} that compares {@link java.util.Map.Entry
* map * entries} based on their {@link java.util.Map.Entry#getKey() keys}.
- *
* @param comparator the underlying comparator used to compare keys
* @return a new {@link ConvertingComparator} instance
*/
- public static implements Comparator {
/**
* Create a new {@link ConvertingComparator} that compares {@link java.util.Map.Entry
* map entries} based on their {@link java.util.Map.Entry#getValue() values}.
- *
* @param comparator the underlying comparator used to compare values
* @return a new {@link ConvertingComparator} instance
*/
- public static the type of the adaptee's {@code Future}
* @author Arjen Poutsma
* @since 4.0
+ * @param the type of the adaptee's {@code Future}
*/
public abstract class ListenableFutureAdapter} to the expected target type {@code the type of object expected from the {@link Promise}
- * @param the type of object expected from the {@link Promise}
+ * @param implements ListenableFuture implements Listena
this.registry.addSuccessCallback(successCallback);
this.registry.addFailureCallback(failureCallback);
}
+
}
diff --git a/spring-messaging/src/main/java/org/springframework/messaging/tcp/reactor/Reactor11TcpConnection.java b/spring-messaging/src/main/java/org/springframework/messaging/tcp/reactor/Reactor11TcpConnection.java
index ef2aceb2c40..e9aad6cef1b 100644
--- a/spring-messaging/src/main/java/org/springframework/messaging/tcp/reactor/Reactor11TcpConnection.java
+++ b/spring-messaging/src/main/java/org/springframework/messaging/tcp/reactor/Reactor11TcpConnection.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2002-2014 the original author or authors.
+ * Copyright 2002-2015 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.
@@ -23,15 +23,14 @@ import org.springframework.messaging.Message;
import org.springframework.messaging.tcp.TcpConnection;
import org.springframework.util.concurrent.ListenableFuture;
-
/**
* An implementation of {@link org.springframework.messaging.tcp.TcpConnection}
* based on the TCP client support of the Reactor project.
*
- * @param