diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/MongoItemReader.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/MongoItemReader.java index 43c5ea9fd..6e5083c06 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/MongoItemReader.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/MongoItemReader.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 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. @@ -23,8 +23,6 @@ import java.util.Map; import org.bson.Document; import org.bson.codecs.DecoderContext; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; import org.springframework.batch.item.ExecutionContext; import org.springframework.batch.item.ItemReader; @@ -82,9 +80,7 @@ import org.springframework.util.StringUtils; * @author Parikshit Dutta */ public class MongoItemReader extends AbstractPaginatedDataItemReader implements InitializingBean { - - private static final Logger log = LoggerFactory.getLogger(MongoItemReader.class); - + private MongoOperations template; private Query query; private String queryString;