Skip to content

Commit 9d878c3

Browse files
committed
Javadoc fixes.
1 parent 92879be commit 9d878c3

File tree

12 files changed

+9
-30
lines changed

12 files changed

+9
-30
lines changed

extensions/spring-xd-extension-hdfs/src/main/java/org/springframework/data/hadoop/store/support/StreamsHolder.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
import java.io.Closeable;
2020
import java.io.IOException;
21-
import java.io.InputStream;
2221

2322
import org.springframework.util.Assert;
2423

@@ -57,8 +56,8 @@ public StreamsHolder(T stream, T wrappedStream) {
5756
/**
5857
* Close both streams in this holder. Possible {@code IOException} by closing wrapped stream is not thrown.
5958
*
60-
* @see InputStream#close()
61-
* @see OutputStream#close()
59+
* @see java.io.InputStream#close()
60+
* @see java.io.OutputStream#close()
6261
*/
6362
@Override
6463
public void close() throws IOException {

spring-xd-dirt/src/main/java/org/springframework/integration/x/bus/MessageBus.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void bindConsumer(String name, MessageChannel moduleInputChannel, Collection<Med
4747
* Bind a message consumer on a pub/sub channel
4848
*
4949
* @param name the logical identity of the message source
50-
* @param moduleInputChannel the channel bound as a pub/sub consumer
50+
* @param inputChannel the channel bound as a pub/sub consumer
5151
* @param acceptedMediaTypes the media types supported by the channel
5252
*/
5353
void bindPubSubConsumer(final String name, MessageChannel inputChannel,
@@ -67,7 +67,7 @@ void bindPubSubConsumer(final String name, MessageChannel inputChannel,
6767
* Bind a message producer on a pub/sub channel.
6868
*
6969
* @param name the logical identity of the message target
70-
* @param moduleOutputChannel the channel bound as a producer
70+
* @param outputChannel the channel bound as a producer
7171
*/
7272
void bindPubSubProducer(final String name, MessageChannel outputChannel);
7373

@@ -97,7 +97,7 @@ void bindPubSubConsumer(final String name, MessageChannel inputChannel,
9797
* Unbind a specific p2p or pub/sub message producer
9898
*
9999
* @param name the logical identity of the message target
100-
* @param moduleOutputChannel the channel bound as a producer
100+
* @param channel the channel bound as a producer
101101
*/
102102
void unbindProducer(String name, MessageChannel channel);
103103

spring-xd-dirt/src/main/java/org/springframework/integration/x/bus/serializer/AbstractCodec.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ public abstract class AbstractCodec<T> implements Serializer<T>, Deserializer<T>
3434
* Deserialize a byte array.
3535
*
3636
* @param bytes
37-
* @return
3837
* @throws IOException
3938
*/
4039
public T deserialize(byte[] bytes) throws IOException {

spring-xd-dirt/src/main/java/org/springframework/xd/dirt/job/BatchJobAlreadyExistsException.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
@SuppressWarnings("serial")
2727
public class BatchJobAlreadyExistsException extends XDRuntimeException {
2828

29-
/**
30-
* @param message exception message
31-
*/
3229
public BatchJobAlreadyExistsException(String name) {
3330
super("Batch Job with the name " + name + " already exists");
3431
}

spring-xd-dirt/src/main/java/org/springframework/xd/dirt/job/NoSuchBatchJobException.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525
@SuppressWarnings("serial")
2626
public class NoSuchBatchJobException extends XDRuntimeException {
2727

28-
/**
29-
* @param message exception message
30-
*/
3128
public NoSuchBatchJobException(String name) {
3229
super("Batch Job with the name " + name + " doesn't exist");
3330
}

spring-xd-dirt/src/main/java/org/springframework/xd/dirt/module/DelegatingModuleRegistry.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ public class DelegatingModuleRegistry implements ModuleRegistry {
3737

3838
private final List<ModuleRegistry> delegates = new ArrayList<ModuleRegistry>();
3939

40-
/**
41-
* @param cp
42-
* @param file
43-
*/
4440
public DelegatingModuleRegistry(ModuleRegistry... delegates) {
4541
this.delegates.addAll(Arrays.asList(delegates));
4642
}

spring-xd-dirt/src/main/java/org/springframework/xd/dirt/plugins/stream/ModuleTypeConversionPlugin.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
import org.springframework.xd.dirt.plugins.ModuleConfigurationException;
3939
import org.springframework.xd.module.Module;
4040
import org.springframework.xd.module.ModuleType;
41+
import org.springframework.xd.module.Plugin;
4142
import org.springframework.xd.module.PluginAdapter;
4243
import org.springframework.xd.module.SimpleModule;
4344

spring-xd-dirt/src/main/java/org/springframework/xd/dirt/rest/XDController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
* Base Class for XD Controllers.
4747
*
4848
* @param <D> the kind of definition entity this controller deals with
49-
* @param <V> a resource assembler that knows how to build Ts out of Ds
50-
* @param <T> the resource class for D
49+
* @param <A> a resource assembler that knows how to build Ts out of Ds
50+
* @param <R> the resource class for D
5151
*
5252
* @author Glenn Renfro
5353
* @author Ilayaperumal Gopinathan

spring-xd-dirt/src/main/java/org/springframework/xd/dirt/server/options/ContainerOptions.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,10 @@
2323
*/
2424
public class ContainerOptions extends AbstractOptions {
2525

26-
/**
27-
* @param defaultTransport
28-
* @param defaultAnalytics
29-
*/
3026
public ContainerOptions() {
3127
super(Transport.redis, Analytics.redis);
3228
}
3329

34-
3530
@Option(name = "--" + STORE, usage = "How to persist container/modules data (default: redis)")
3631
private Store store = Store.redis;
3732

spring-xd-dirt/src/main/java/org/springframework/xd/dirt/server/options/OptionUtils.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ public class OptionUtils {
3030
*
3131
* @param options - the options
3232
* @param explicit - true if explicit options are included, false otherwise
33-
* @return
3433
*/
3534
static Properties optionsToProperties(AbstractOptions options, boolean explicit) {
3635
Properties xdProperties = new Properties();

0 commit comments

Comments
 (0)