From 832e6c6c43445ae5e9666320dc7a3bcf08959a04 Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Tue, 11 Sep 2018 15:28:02 -0400 Subject: [PATCH] Javadoc fixes --- .../binding/convert/converters/ArrayToCollection.java | 2 +- .../java/org/springframework/webflow/action/FormAction.java | 1 + .../webflow/action/ResultObjectBasedEventFactory.java | 6 +----- .../webflow/config/FlowDefinitionRegistryBuilder.java | 4 ++-- .../webflow/context/servlet/FilenameFlowUrlHandler.java | 6 +++--- .../java/org/springframework/webflow/engine/Transition.java | 4 ++-- .../webflow/engine/impl/FlowExecutionImpl.java | 4 ++-- .../engine/model/builder/xml/DefaultDocumentLoader.java | 2 +- .../springframework/webflow/executor/FlowExecutorImpl.java | 6 +++--- 9 files changed, 16 insertions(+), 19 deletions(-) diff --git a/spring-binding/src/main/java/org/springframework/binding/convert/converters/ArrayToCollection.java b/spring-binding/src/main/java/org/springframework/binding/convert/converters/ArrayToCollection.java index ecbee91e..51051b60 100644 --- a/spring-binding/src/main/java/org/springframework/binding/convert/converters/ArrayToCollection.java +++ b/spring-binding/src/main/java/org/springframework/binding/convert/converters/ArrayToCollection.java @@ -33,7 +33,7 @@ import org.springframework.core.GenericCollectionTypeResolver; * Special converter that converts from a source array to a target collection. Supports the selection of an * "approximate" collection implementation when a target collection interface such as List.class is * specified. Supports type conversion of array elements when a concrete parameterized collection class is provided, - * such as IntegerList.class. + * such as {@code List}. * * Note that type erasure prevents arbitrary access to generic collection element type information at runtime, * preventing the ability to convert elements for collections declared as properties. diff --git a/spring-webflow/src/main/java/org/springframework/webflow/action/FormAction.java b/spring-webflow/src/main/java/org/springframework/webflow/action/FormAction.java index cda3be61..3e4f39bb 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/action/FormAction.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/action/FormAction.java @@ -176,6 +176,7 @@ import org.springframework.webflow.execution.ScopeType; *

* FormAction configurable properties
* + * * * * diff --git a/spring-webflow/src/main/java/org/springframework/webflow/action/ResultObjectBasedEventFactory.java b/spring-webflow/src/main/java/org/springframework/webflow/action/ResultObjectBasedEventFactory.java index c3b0113c..1a39134f 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/action/ResultObjectBasedEventFactory.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/action/ResultObjectBasedEventFactory.java @@ -23,6 +23,7 @@ import org.springframework.webflow.execution.RequestContext; * Result object-to-event adapter interface that tries to do a sensible conversion of the result object into a web flow * event. It uses the following conversion table: *
Configurable Properties
namedefault
+ * * * * @@ -40,11 +41,6 @@ import org.springframework.webflow.execution.RequestContext; * * * - * - * - * - * - * * * * diff --git a/spring-webflow/src/main/java/org/springframework/webflow/config/FlowDefinitionRegistryBuilder.java b/spring-webflow/src/main/java/org/springframework/webflow/config/FlowDefinitionRegistryBuilder.java index 82459b2c..10f3eda7 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/config/FlowDefinitionRegistryBuilder.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/config/FlowDefinitionRegistryBuilder.java @@ -67,7 +67,7 @@ public class FlowDefinitionRegistryBuilder { /** * Create a new instance with the given ApplicationContext. * - * @param applicationContext the ApplicationContext to use for initializing the + * @param appContext the ApplicationContext to use for initializing the * FlowDefinitionResourceFactory and FlowBuilderServices instances with */ public FlowDefinitionRegistryBuilder(ApplicationContext appContext) { @@ -77,7 +77,7 @@ public class FlowDefinitionRegistryBuilder { /** * Create a new instance with the given ApplicationContext and {@link FlowBuilderServices}. * - * @param applicationContext the ApplicationContext to use for initializing the + * @param appContext the ApplicationContext to use for initializing the * FlowDefinitionResourceFactory and FlowBuilderServices instances with * @param builderServices a {@link FlowBuilderServices} instance to configure * on the FlowDefinitionRegistry diff --git a/spring-webflow/src/main/java/org/springframework/webflow/context/servlet/FilenameFlowUrlHandler.java b/spring-webflow/src/main/java/org/springframework/webflow/context/servlet/FilenameFlowUrlHandler.java index 8493c61b..851d7e53 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/context/servlet/FilenameFlowUrlHandler.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/context/servlet/FilenameFlowUrlHandler.java @@ -32,7 +32,8 @@ import org.springframework.webflow.mvc.servlet.FlowController; *

* This implementation extracts the filename and removes the file extension from the request URL. The results will be * used as the flow Id that must be unique throughout the application. - * + * + *

* For example the URLs * *

@@ -42,8 +43,7 @@ import org.springframework.webflow.mvc.servlet.FlowController;
  * 
* * will all treat the filename "foo" as the flow id. - *

- * + * * Note: Because this class only treats a filename as a flow id, clashes can result. For example: * *
diff --git a/spring-webflow/src/main/java/org/springframework/webflow/engine/Transition.java b/spring-webflow/src/main/java/org/springframework/webflow/engine/Transition.java
index 3cdfa00b..b976c2c0 100644
--- a/spring-webflow/src/main/java/org/springframework/webflow/engine/Transition.java
+++ b/spring-webflow/src/main/java/org/springframework/webflow/engine/Transition.java
@@ -29,7 +29,7 @@ import org.springframework.webflow.execution.RequestContext;
  * A path from one {@link TransitionableState state} to another {@link State state}.
  * 

* When executed a transition takes a flow execution from its current state, called the source state, to another - * state, called the target state. A transition may become eligible for execution on the occurrence of an + * state, called the target state. A transition may become eligible for execution on the occurrence of an * {@link Event} from within a transitionable source state. *

* When an event occurs within this transition's source TransitionableState the determination of the @@ -246,4 +246,4 @@ public class Transition extends AnnotatedObject implements TransitionDefinition return new ToStringCreator(this).append("on", getMatchingCriteria()).append("to", getTargetStateResolver()) .toString(); } -} +} diff --git a/spring-webflow/src/main/java/org/springframework/webflow/engine/impl/FlowExecutionImpl.java b/spring-webflow/src/main/java/org/springframework/webflow/engine/impl/FlowExecutionImpl.java index 9ae9482b..3b2ae795 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/engine/impl/FlowExecutionImpl.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/engine/impl/FlowExecutionImpl.java @@ -57,8 +57,8 @@ import org.springframework.webflow.execution.View; /** * Default implementation of FlowExecution that uses a stack-based data structure to manage spawned flow sessions. This - * class is closely coupled with package-private FlowSessionImpl and RequestControlContextImpl - * . The three classes work together to form a complete flow execution implementation based on a finite state machine. + * class is closely coupled with package-private FlowSessionImpl and RequestControlContextImpl. + * The three classes work together to form a complete flow execution implementation based on a finite state machine. *

* This implementation of FlowExecution is serializable so it can be safely stored in an HTTP session or other * persistent store such as a file, database, or client-side form field. Once deserialized, the diff --git a/spring-webflow/src/main/java/org/springframework/webflow/engine/model/builder/xml/DefaultDocumentLoader.java b/spring-webflow/src/main/java/org/springframework/webflow/engine/model/builder/xml/DefaultDocumentLoader.java index 2acec77f..0ae57e9b 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/engine/model/builder/xml/DefaultDocumentLoader.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/engine/model/builder/xml/DefaultDocumentLoader.java @@ -33,7 +33,7 @@ import org.xml.sax.SAXException; /** * The default document loader strategy for XSD-based XML documents with validation enabled by default. *

- * Note: full XSD support requires JDK 5.0 or a capable parser such as Xerces 2.0. JDK 1.4 or < do not fully support XSD + * Note: full XSD support requires JDK 5.0 or a capable parser such as Xerces 2.0. JDK 1.4 or < do not fully support XSD * out of the box. To use this implementation on JDK 1.4 make sure Xerces is available in your classpath or disable XSD * validation by {@link #setValidating(boolean) setting the validating property to false}. * diff --git a/spring-webflow/src/main/java/org/springframework/webflow/executor/FlowExecutorImpl.java b/spring-webflow/src/main/java/org/springframework/webflow/executor/FlowExecutorImpl.java index d6b37f17..4cad08cd 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/executor/FlowExecutorImpl.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/executor/FlowExecutorImpl.java @@ -41,6 +41,7 @@ import org.springframework.webflow.execution.repository.FlowExecutionRepository; *

* Commonly used configurable properties
*

Result to Event Id Conversion
Result object typeEvent id 
{@link org.springframework.core.enums.LabeledEnum}{@link org.springframework.core.enums.LabeledEnum#getLabel()}The result object will included in the event as an attribute named "result".
{@link java.lang.Enum}{@link java.lang.Enum#name()}The result object will included in the event as an attribute named "result".
+ * * * * @@ -62,8 +63,7 @@ import org.springframework.webflow.execution.repository.FlowExecutionRepository; * * *
Configurable Properties
namedescriptionNone
- *

- * + * * @see FlowDefinitionLocator * @see FlowExecutionFactory * @see FlowExecutionRepository @@ -191,4 +191,4 @@ public class FlowExecutorImpl implements FlowExecutor { .toString()); } -} +}