Polish code indent in Javadocs

This commit is contained in:
Taeik Lim
2022-11-17 01:55:38 +09:00
committed by Mahmoud Ben Hassine
parent 23878c6cca
commit 15f3637ac8
6 changed files with 134 additions and 129 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2018-2019 the original author or authors.
* Copyright 2018-2023 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.
@@ -58,34 +58,34 @@ import org.springframework.integration.config.EnableIntegration;
* @EnableBatchProcessing
* public class RemoteChunkingAppConfig {
*
* @Autowired
* private RemoteChunkingManagerStepBuilderFactory managerStepBuilderFactory;
* @Autowired
* private RemoteChunkingManagerStepBuilderFactory managerStepBuilderFactory;
*
* @Autowired
* private RemoteChunkingWorkerBuilder workerBuilder;
* @Autowired
* private RemoteChunkingWorkerBuilder workerBuilder;
*
* @Bean
* public TaskletStep managerStep() {
* return this.managerStepBuilderFactory
* .get("managerStep")
* .chunk(100)
* .reader(itemReader())
* .outputChannel(outgoingRequestsToWorkers())
* .inputChannel(incomingRepliesFromWorkers())
* .build();
* }
* @Bean
* public TaskletStep managerStep() {
* return this.managerStepBuilderFactory
* .get("managerStep")
* .chunk(100)
* .reader(itemReader())
* .outputChannel(outgoingRequestsToWorkers())
* .inputChannel(incomingRepliesFromWorkers())
* .build();
* }
*
* @Bean
* public IntegrationFlow worker() {
* return this.workerBuilder
* .itemProcessor(itemProcessor())
* .itemWriter(itemWriter())
* .inputChannel(incomingRequestsFromManager())
* .outputChannel(outgoingRepliesToManager())
* .build();
* }
* @Bean
* public IntegrationFlow worker() {
* return this.workerBuilder
* .itemProcessor(itemProcessor())
* .itemWriter(itemWriter())
* .inputChannel(incomingRequestsFromManager())
* .outputChannel(outgoingRepliesToManager())
* .build();
* }
*
* // Middleware beans omitted
* // Middleware beans omitted
*
* }
* </pre>
@@ -98,42 +98,43 @@ import org.springframework.integration.config.EnableIntegration;
* &#064;EnableBatchProcessing
* public class RemotePartitioningAppConfig {
*
* &#064;Autowired
* private RemotePartitioningManagerStepBuilderFactory managerStepBuilderFactory;
* &#064;Autowired
* private RemotePartitioningManagerStepBuilderFactory managerStepBuilderFactory;
*
* &#064;Autowired
* private RemotePartitioningWorkerStepBuilderFactory workerStepBuilderFactory;
* &#064;Autowired
* private RemotePartitioningWorkerStepBuilderFactory workerStepBuilderFactory;
*
* &#064;Bean
* public Step managerStep() {
* return this.managerStepBuilderFactory
* .get("managerStep")
* .partitioner("workerStep", partitioner())
* .gridSize(10)
* .outputChannel(outgoingRequestsToWorkers())
* .inputChannel(incomingRepliesFromWorkers())
* .build();
* }
* &#064;Bean
* public Step managerStep() {
* return this.managerStepBuilderFactory
* .get("managerStep")
* .partitioner("workerStep", partitioner())
* .gridSize(10)
* .outputChannel(outgoingRequestsToWorkers())
* .inputChannel(incomingRepliesFromWorkers())
* .build();
* }
*
* &#064;Bean
* public Step workerStep() {
* return this.workerStepBuilderFactory
* .get("workerStep")
* .inputChannel(incomingRequestsFromManager())
* .outputChannel(outgoingRepliesToManager())
* .chunk(100)
* .reader(itemReader())
* .processor(itemProcessor())
* .writer(itemWriter())
* .build();
* }
* &#064;Bean
* public Step workerStep() {
* return this.workerStepBuilderFactory
* .get("workerStep")
* .inputChannel(incomingRequestsFromManager())
* .outputChannel(outgoingRepliesToManager())
* .chunk(100)
* .reader(itemReader())
* .processor(itemProcessor())
* .writer(itemWriter())
* .build();
* }
*
* // Middleware beans omitted
* // Middleware beans omitted
*
* }
* </pre>
* @since 4.1
* @author Mahmoud Ben Hassine
* @author Taeik Lim
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)