Skip to content

Commit

Permalink
BATCH-2686: Fix imports order
Browse files Browse the repository at this point in the history
  • Loading branch information
fmbenhassine committed May 3, 2018
1 parent 83d43d6 commit 8faecf4
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
Expand Up @@ -15,6 +15,8 @@
*/
package org.springframework.batch.integration.chunk;

import java.util.function.Function;

import org.springframework.batch.core.ChunkListener;
import org.springframework.batch.core.ItemProcessListener;
import org.springframework.batch.core.ItemReadListener;
Expand Down Expand Up @@ -47,8 +49,6 @@
import org.springframework.transaction.interceptor.TransactionAttribute;
import org.springframework.util.Assert;

import java.util.function.Function;

/**
* Builder for a master step in a remote chunking setup. This builder:
*
Expand Down
Expand Up @@ -15,15 +15,15 @@
*/
package org.springframework.batch.integration.config.annotation;

import org.springframework.batch.integration.chunk.RemoteChunkingWorkerBuilder;
import org.springframework.context.annotation.Import;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.batch.integration.chunk.RemoteChunkingWorkerBuilder;
import org.springframework.context.annotation.Import;

/**
* Enable Spring Batch Integration features and provide a base configuration for
* setting up remote chunking infrastructure beans.
Expand Down
Expand Up @@ -15,11 +15,14 @@
*/
package org.springframework.batch.integration.chunk;

import java.util.Arrays;

import org.junit.Assert;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import org.junit.runner.RunWith;

import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.batch.core.repository.JobRepository;
import org.springframework.batch.core.step.tasklet.TaskletStep;
Expand All @@ -36,8 +39,6 @@
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.transaction.PlatformTransactionManager;

import java.util.Arrays;

/**
* @author Mahmoud Ben Hassine
*/
Expand Down
Expand Up @@ -19,6 +19,7 @@
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;

import org.springframework.batch.item.ItemProcessor;
import org.springframework.batch.item.ItemWriter;
import org.springframework.batch.item.support.PassThroughItemProcessor;
Expand Down
Expand Up @@ -16,11 +16,14 @@

package org.springframework.batch.sample;

import java.util.Arrays;

import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;

import org.springframework.amqp.core.AmqpTemplate;
import org.springframework.amqp.rabbit.connection.CachingConnectionFactory;
import org.springframework.amqp.rabbit.connection.ConnectionFactory;
Expand Down Expand Up @@ -53,8 +56,6 @@
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import java.util.Arrays;

/**
* <p>Ensure a RabbitMQ instance is running, modifying default.amqp.properties if needed.</p>
*
Expand Down

0 comments on commit 8faecf4

Please sign in to comment.