From c6f27d5b22fa5cc5ee5e313fcb81eb38037e260e Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Wed, 5 Sep 2012 17:31:24 -0400 Subject: [PATCH] INT-2727 Fix JavaDoc Warnings Previous push introduced a few JavaDoc issues. --- .../transaction/MessageSourceResourceHolder.java | 6 +++--- .../integration/transaction/PseudoTransactionManager.java | 8 +++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/spring-integration-core/src/main/java/org/springframework/integration/transaction/MessageSourceResourceHolder.java b/spring-integration-core/src/main/java/org/springframework/integration/transaction/MessageSourceResourceHolder.java index b33508ab43..d4531e1fc8 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/transaction/MessageSourceResourceHolder.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/transaction/MessageSourceResourceHolder.java @@ -64,10 +64,10 @@ public class MessageSourceResourceHolder implements ResourceHolder { } /** - * Will return an immutable Mpa of current attributes. - * If you need to add attribute use {{@link #addAttribute(String, Object)} method. + * Will return an immutable Map of current attributes. + * If you need to add an attribute, use the {@link #addAttribute(String, Object)} method. * - * @return + * @return the immutable map. */ public Map getAttributes() { return Collections.unmodifiableMap(attributes); diff --git a/spring-integration-core/src/main/java/org/springframework/integration/transaction/PseudoTransactionManager.java b/spring-integration-core/src/main/java/org/springframework/integration/transaction/PseudoTransactionManager.java index 41939f2733..297ad70bac 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/transaction/PseudoTransactionManager.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/transaction/PseudoTransactionManager.java @@ -12,6 +12,7 @@ */ package org.springframework.integration.transaction; +import org.springframework.integration.core.MessageSource; import org.springframework.transaction.PlatformTransactionManager; import org.springframework.transaction.TransactionDefinition; import org.springframework.transaction.TransactionException; @@ -19,9 +20,10 @@ import org.springframework.transaction.support.AbstractPlatformTransactionManage import org.springframework.transaction.support.DefaultTransactionStatus; /** * An implementation of {@link PlatformTransactionManager} that provides transaction-like semantics to - * {@link MessageSource}s sources that are not inherently transactional. It does not make such - * sources transactional; rather, together with the element, it provides - * the ability to synchronize operations after a flow completes, via onSucess and onFailure expressions. + * {@link MessageSource}s that are not inherently transactional. It does not make such + * sources transactional; rather, together with a {@link TransactionSynchronizationFactory}, it provides + * the ability to synchronize operations after a flow completes, via beforeCommit, afterCommit and + * afterRollback operations. * * @author Gary Russell * @author Oleg Zhurakousky