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 2012-2022 the original author or authors.
* Copyright 2012-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.
@@ -47,20 +47,20 @@ import org.springframework.context.annotation.Import;
* @Import(DataSourceConfiguration.class)
* public class AppConfig {
*
* @Bean
* public Job job(JobRepository jobRepository) {
* return new JobBuilder("myJob").repository(jobRepository).start(step1()).next(step2()).build();
* }
* @Bean
* public Job job(JobRepository jobRepository) {
* return new JobBuilder("myJob").repository(jobRepository).start(step1()).next(step2()).build();
* }
*
* @Bean
* protected Step step1() {
* ...
* }
* @Bean
* protected Step step1() {
* ...
* }
*
* @Bean
* protected Step step2() {
* ...
* }
* @Bean
* protected Step step2() {
* ...
* }
* }
* </pre>
*
@@ -106,17 +106,17 @@ import org.springframework.context.annotation.Import;
* &#064;EnableBatchProcessing(modular=true)
* public class AppConfig {
*
* &#064;Bean
* public ApplicationContextFactory someJobs() {
* return new GenericApplicationContextFactory(SomeJobConfiguration.class);
* }
* &#064;Bean
* public ApplicationContextFactory someJobs() {
* return new GenericApplicationContextFactory(SomeJobConfiguration.class);
* }
*
* &#064;Bean
* public ApplicationContextFactory moreJobs() {
* return new GenericApplicationContextFactory(MoreJobConfiguration.class);
* }
* &#064;Bean
* public ApplicationContextFactory moreJobs() {
* return new GenericApplicationContextFactory(MoreJobConfiguration.class);
* }
*
* ...
* ...
*
* }
* </pre>
@@ -134,14 +134,13 @@ import org.springframework.context.annotation.Import;
* <batch>
* <job-repository />
* <job id="myJob">
* <step id="step1" .../>
* <step id="step2" .../>
* <step id="step1" .../>
* <step id="step2" .../>
* </job>
* <beans:bean id="dataSource" .../>
* <beans:bean id="transactionManager" .../>
* <beans:bean id="jobLauncher" class=
"org.springframework.batch.core.launch.support.TaskExecutorJobLauncher">
* <beans:property name="jobRepository" ref="jobRepository" />
* <beans:bean id="jobLauncher" class="org.springframework.batch.core.launch.support.TaskExecutorJobLauncher">
* <beans:property name="jobRepository" ref="jobRepository" />
* </beans:bean>
* </batch>
* }
@@ -149,6 +148,7 @@ import org.springframework.context.annotation.Import;
*
* @author Dave Syer
* @author Mahmoud Ben Hassine
* @author Taeik Lim
*
*/
@Target(ElementType.TYPE)

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2022 the original author or authors.
* Copyright 2013-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.
@@ -36,7 +36,7 @@ import java.lang.annotation.RetentionPolicy;
* &#064;JobScope
* protected Callable&lt;String&gt; value(@Value(&quot;#{jobExecution.jobInstance.jobName}&quot;)
* final String value) {
* return new SimpleCallable(value);
* return new SimpleCallable(value);
* }
* </pre>
*
@@ -46,6 +46,7 @@ import java.lang.annotation.RetentionPolicy;
* </p>
*
* @author Michael Minella
* @author Taeik Lim
*
* @since 3.0.1
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2022 the original author or authors.
* Copyright 2013-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.
@@ -36,7 +36,7 @@ import java.lang.annotation.RetentionPolicy;
* &#064;StepScope
* protected Callable&lt;String&gt; value(@Value(&quot;#{stepExecution.stepName}&quot;)
* final String value) {
* return new SimpleCallable(value);
* return new SimpleCallable(value);
* }
* </pre>
*
@@ -46,6 +46,7 @@ import java.lang.annotation.RetentionPolicy;
* </p>
*
* @author Dave Syer
* @author Taeik Lim
*
* @since 2.2
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2022 the original author or authors.
* Copyright 2012-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.
@@ -88,12 +88,12 @@ import org.springframework.transaction.annotation.Isolation;
* &#064;Configuration
* public class MyJobConfiguration extends DefaultBatchConfiguration {
*
* &#064;Bean
* public Job job(JobRepository jobRepository) {
* return new JobBuilder("myJob", jobRepository)
* // define job flow as needed
* .build();
* }
* &#064;Bean
* public Job job(JobRepository jobRepository) {
* return new JobBuilder("myJob", jobRepository)
* // define job flow as needed
* .build();
* }
*
* }
* </pre>
@@ -101,6 +101,7 @@ import org.springframework.transaction.annotation.Isolation;
* @author Dave Syer
* @author Michael Minella
* @author Mahmoud Ben Hassine
* @author Taeik Lim
* @since 2.2
*/
@Configuration(proxyBeanMethods = false)