Skip to content

Commit caa4c07

Browse files
authored
Fix spelling errors in Javadocs and docs
1 parent ca8659f commit caa4c07

File tree

13 files changed

+22
-22
lines changed

13 files changed

+22
-22
lines changed

spring-integration-core/src/main/java/org/springframework/integration/dsl/BaseIntegrationFlowDefinition.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2015,7 +2015,7 @@ public B gateway(MessageChannel requestChannel, @Nullable Consumer<GatewayEndpoi
20152015
* .gateway(f -> f.transform("From Gateway SubFlow: "::concat))
20162016
* }
20172017
* </pre>
2018-
* @param flow the {@link IntegrationFlow} to to send a request message and wait for reply.
2018+
* @param flow the {@link IntegrationFlow} to send a request message and wait for reply.
20192019
* @return the current {@link BaseIntegrationFlowDefinition}.
20202020
*/
20212021
public B gateway(IntegrationFlow flow) {
@@ -2032,7 +2032,7 @@ public B gateway(IntegrationFlow flow) {
20322032
* .gateway(f -> f.transform("From Gateway SubFlow: "::concat), e -> e.replyTimeout(100L))
20332033
* }
20342034
* </pre>
2035-
* @param flow the {@link IntegrationFlow} to to send a request message and wait for reply.
2035+
* @param flow the {@link IntegrationFlow} to send a request message and wait for reply.
20362036
* @param endpointConfigurer the {@link Consumer} to provide integration endpoint options.
20372037
* @return the current {@link BaseIntegrationFlowDefinition}.
20382038
*/

spring-integration-core/src/main/java/org/springframework/integration/dsl/context/IntegrationFlowBeanPostProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public void afterSingletonsInstantiated() {
141141
String scope = this.beanFactory.getBeanDefinition(beanName).getScope();
142142
if (StringUtils.hasText(scope) && !BeanDefinition.SCOPE_SINGLETON.equals(scope)) {
143143
throw new BeanCreationNotAllowedException(beanName, "IntegrationFlows can not be scoped beans. " +
144-
"Any dependant beans are registered as singletons, meanwhile IntegrationFlow is just a " +
144+
"Any dependent beans are registered as singletons, meanwhile IntegrationFlow is just a " +
145145
"logical container for them. \n" +
146146
"Consider using [IntegrationFlowContext] for manual registration of IntegrationFlows.");
147147
}

spring-integration-core/src/main/java/org/springframework/integration/dsl/context/IntegrationFlowContext.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public interface IntegrationFlowContext {
7575
IntegrationFlowRegistration getRegistrationById(String flowId);
7676

7777
/**
78-
* Destroy an {@link IntegrationFlow} bean (as well as all its dependant beans)
78+
* Destroy an {@link IntegrationFlow} bean (as well as all its dependent beans)
7979
* for provided {@code flowId} and clean up all the local cache for it.
8080
* @param flowId the bean name to destroy from
8181
*/
@@ -187,7 +187,7 @@ interface IntegrationFlowRegistrationBuilder {
187187
IntegrationFlowRegistrationBuilder autoStartup(boolean autoStartup);
188188

189189
/**
190-
* Add an object which will be registered as an {@link IntegrationFlow} dependant bean in the
190+
* Add an object which will be registered as an {@link IntegrationFlow} dependent bean in the
191191
* application context. Usually it is some support component, which needs an application context.
192192
* For example dynamically created connection factories or header mappers for AMQP, JMS, TCP etc.
193193
* @param bean an additional arbitrary bean to register into the application context.
@@ -196,7 +196,7 @@ interface IntegrationFlowRegistrationBuilder {
196196
IntegrationFlowRegistrationBuilder addBean(Object bean);
197197

198198
/**
199-
* Add an object which will be registered as an {@link IntegrationFlow} dependant bean in the
199+
* Add an object which will be registered as an {@link IntegrationFlow} dependent bean in the
200200
* application context. Usually it is some support component, which needs an application context.
201201
* For example dynamically created connection factories or header mappers for AMQP, JMS, TCP etc.
202202
* @param name the name for the bean to register.
@@ -237,7 +237,7 @@ default IntegrationFlowRegistrationBuilder useFlowIdAsPrefix() {
237237
}
238238

239239
/**
240-
* Register an {@link IntegrationFlow} and all the dependant and support components
240+
* Register an {@link IntegrationFlow} and all the dependent and support components
241241
* in the application context and return an associated {@link IntegrationFlowRegistration}
242242
* control object.
243243
* @return the {@link IntegrationFlowRegistration} instance.

spring-integration-core/src/main/java/org/springframework/integration/dsl/context/StandardIntegrationFlowContext.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public IntegrationFlowRegistration getRegistrationById(String flowId) {
181181
}
182182

183183
/**
184-
* Destroy an {@link IntegrationFlow} bean (as well as all its dependant beans)
184+
* Destroy an {@link IntegrationFlow} bean (as well as all its dependent beans)
185185
* for provided {@code flowId} and clean up all the local cache for it.
186186
* @param flowId the bean name to destroy from
187187
*/
@@ -308,7 +308,7 @@ public StandardIntegrationFlowRegistrationBuilder autoStartup(boolean autoStartu
308308
}
309309

310310
/**
311-
* Add an object which will be registered as an {@link IntegrationFlow} dependant bean in the
311+
* Add an object which will be registered as an {@link IntegrationFlow} dependent bean in the
312312
* application context. Usually it is some support component, which needs an application context.
313313
* For example dynamically created connection factories or header mappers for AMQP, JMS, TCP etc.
314314
* @param bean an additional arbitrary bean to register into the application context.
@@ -320,7 +320,7 @@ public StandardIntegrationFlowRegistrationBuilder addBean(Object bean) {
320320
}
321321

322322
/**
323-
* Add an object which will be registered as an {@link IntegrationFlow} dependant bean in the
323+
* Add an object which will be registered as an {@link IntegrationFlow} dependent bean in the
324324
* application context. Usually it is some support component, which needs an application context.
325325
* For example dynamically created connection factories or header mappers for AMQP, JMS, TCP etc.
326326
* @param name the name for the bean to register.
@@ -352,7 +352,7 @@ public IntegrationFlowRegistrationBuilder useFlowIdAsPrefix() {
352352
}
353353

354354
/**
355-
* Register an {@link IntegrationFlow} and all the dependant and support components
355+
* Register an {@link IntegrationFlow} and all the dependent and support components
356356
* in the application context and return an associated {@link IntegrationFlowRegistration}
357357
* control object.
358358
* @return the {@link IntegrationFlowRegistration} instance.

spring-integration-core/src/main/java/org/springframework/integration/dsl/context/StandardIntegrationFlowRegistration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public void stop() {
145145
}
146146

147147
/**
148-
* Destroy the {@link IntegrationFlow} bean (as well as all its dependant beans)
148+
* Destroy the {@link IntegrationFlow} bean (as well as all its dependent beans)
149149
* and clean up all the local cache for it.
150150
*/
151151
@Override

spring-integration-core/src/main/java/org/springframework/integration/support/BaseMessageBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public B removeHeader(String headerName) {
143143
this.headerAccessor.removeHeader(headerName);
144144
}
145145
else if (LOGGER.isInfoEnabled()) {
146-
LOGGER.info("The header [" + headerName + "] is ignored for removal because it is is readOnly.");
146+
LOGGER.info("The header [" + headerName + "] is ignored for removal because it is readOnly.");
147147
}
148148
return _this();
149149
}

spring-integration-core/src/test/java/org/springframework/integration/support/mutable/MutableMessageBuilderFactoryTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public void test() throws InterruptedException {
6363

6464
boolean result = this.latch.await(2L, TimeUnit.SECONDS);
6565

66-
assertThat(result).as("A failure means that that MMBF wasn't used").isTrue();
66+
assertThat(result).as("A failure means that MMBF wasn't used").isTrue();
6767
}
6868

6969
@Configuration

spring-integration-jpa/src/main/java/org/springframework/integration/jpa/config/xml/JpaParserUtils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public static BeanDefinitionBuilder getJpaExecutorBuilder(final Element element,
8080

8181
if (attributeCount > 0) {
8282
parserContext.getReaderContext().error("Exactly only one of the attributes 'entity-manager' or " +
83-
"'entity-manager-factory' or 'jpa-operations' must be be set.", source);
83+
"'entity-manager-factory' or 'jpa-operations' must be set.", source);
8484
}
8585

8686
attributeCount++;
@@ -91,7 +91,7 @@ public static BeanDefinitionBuilder getJpaExecutorBuilder(final Element element,
9191

9292
if (attributeCount > 0) {
9393
parserContext.getReaderContext().error("Exactly only one of the attributes 'entity-manager' or " +
94-
"'entity-manager-factory' or 'jpa-operations' must be be set.", source);
94+
"'entity-manager-factory' or 'jpa-operations' must be set.", source);
9595
}
9696

9797
attributeCount++;
@@ -100,7 +100,7 @@ public static BeanDefinitionBuilder getJpaExecutorBuilder(final Element element,
100100

101101
if (attributeCount == 0) {
102102
parserContext.getReaderContext().error("Exactly one of the attributes 'entity-manager' or " +
103-
"'entity-manager-factory' or 'jpa-operations' must be be set.", source);
103+
"'entity-manager-factory' or 'jpa-operations' must be set.", source);
104104
}
105105

106106
final ManagedList<BeanDefinition> jpaParameterList = getJpaParameterBeanDefinitions(element, parserContext);

spring-integration-stomp/src/main/java/org/springframework/integration/stomp/outbound/StompMessageHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public void setHeaderMapper(HeaderMapper<StompHeaders> headerMapper) {
110110
}
111111

112112
/**
113-
* Specify the the timeout in milliseconds to wait for the STOMP session establishment.
113+
* Specify the timeout in milliseconds to wait for the STOMP session establishment.
114114
* Must be greater than
115115
* {@link org.springframework.integration.stomp.AbstractStompSessionManager#setRecoveryInterval(int)}.
116116
* @param connectTimeout the timeout to use.

spring-integration-ws/src/test/java/org/springframework/integration/ws/config/UriVariableTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public void testHttpUriVariables() {
136136
assertThat(uri.get()).isEqualTo("http://localhost/spring-integration?param=test1%20%26%20test2");
137137
}
138138

139-
@Disabled("Until SF for for URL parser")
139+
@Disabled("Until SF for URL parser")
140140
@Test
141141
public void testInt2720JmsUriVariables() throws JMSException, IOException {
142142
final String destinationName = "SPRING.INTEGRATION.QUEUE";

0 commit comments

Comments
 (0)