Skip to content

Commit 18186f2

Browse files
Ahlichristophstrobl
authored andcommitted
Remove unused imports.
Closes: #4178
1 parent 10acc14 commit 18186f2

File tree

42 files changed

+0
-76
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+0
-76
lines changed

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/aot/AotMongoRepositoryPostProcessor.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
import org.springframework.data.aot.AotRepositoryContext;
2020
import org.springframework.data.aot.RepositoryRegistrationAotProcessor;
2121
import org.springframework.data.aot.TypeContributor;
22-
import org.springframework.data.aot.TypeUtils;
23-
import org.springframework.data.mongodb.core.mapping.MongoSimpleTypes;
2422

2523
/**
2624
* @author Christoph Strobl

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/config/MongoConfigurationSupport.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import org.springframework.core.convert.converter.Converter;
2828
import org.springframework.core.type.filter.AnnotationTypeFilter;
2929
import org.springframework.data.convert.CustomConversions;
30-
import org.springframework.data.domain.ManagedTypes;
3130
import org.springframework.data.mapping.model.CamelCaseAbbreviatingFieldNamingStrategy;
3231
import org.springframework.data.mapping.model.FieldNamingStrategy;
3332
import org.springframework.data.mapping.model.PropertyNameFieldNamingStrategy;

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/AggregationUtil.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,23 @@
1515
*/
1616
package org.springframework.data.mongodb.core;
1717

18-
import java.util.Arrays;
19-
import java.util.Collections;
2018
import java.util.List;
2119
import java.util.Optional;
2220
import java.util.stream.Collectors;
2321

2422
import org.bson.Document;
2523
import org.springframework.data.mapping.context.MappingContext;
2624
import org.springframework.data.mongodb.core.aggregation.Aggregation;
27-
import org.springframework.data.mongodb.core.aggregation.AggregationOperation;
2825
import org.springframework.data.mongodb.core.aggregation.AggregationOperationContext;
29-
import org.springframework.data.mongodb.core.aggregation.AggregationOptions;
3026
import org.springframework.data.mongodb.core.aggregation.AggregationOptions.DomainTypeMapping;
31-
import org.springframework.data.mongodb.core.aggregation.CountOperation;
3227
import org.springframework.data.mongodb.core.aggregation.RelaxedTypeBasedAggregationOperationContext;
3328
import org.springframework.data.mongodb.core.aggregation.TypeBasedAggregationOperationContext;
3429
import org.springframework.data.mongodb.core.aggregation.TypedAggregation;
3530
import org.springframework.data.mongodb.core.convert.QueryMapper;
3631
import org.springframework.data.mongodb.core.mapping.MongoPersistentEntity;
3732
import org.springframework.data.mongodb.core.mapping.MongoPersistentProperty;
38-
import org.springframework.data.mongodb.core.query.CriteriaDefinition;
39-
import org.springframework.data.mongodb.core.query.Query;
4033
import org.springframework.data.util.Lazy;
4134
import org.springframework.lang.Nullable;
42-
import org.springframework.util.Assert;
4335
import org.springframework.util.ObjectUtils;
4436

4537
/**

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/DefaultScriptOperations.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
import org.springframework.dao.DataAccessException;
3232
import org.springframework.data.mongodb.core.script.ExecutableMongoScript;
3333
import org.springframework.data.mongodb.core.script.NamedMongoScript;
34-
import org.springframework.lang.Nullable;
3534
import org.springframework.util.Assert;
3635
import org.springframework.util.CollectionUtils;
3736
import org.springframework.util.ObjectUtils;

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/convert/MongoWriter.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import org.bson.conversions.Bson;
1919
import org.springframework.data.convert.EntityWriter;
2020
import org.springframework.data.mongodb.core.mapping.DocumentPointer;
21-
import org.springframework.data.mongodb.core.mapping.DocumentReference;
2221
import org.springframework.data.mongodb.core.mapping.MongoPersistentEntity;
2322
import org.springframework.data.mongodb.core.mapping.MongoPersistentProperty;
2423
import org.springframework.data.util.TypeInformation;

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/Meta.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import java.util.Map;
2323
import java.util.Map.Entry;
2424
import java.util.Set;
25-
import java.util.concurrent.TimeUnit;
2625

2726
import org.springframework.lang.Nullable;
2827
import org.springframework.util.Assert;

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/Term.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
*/
1616
package org.springframework.data.mongodb.core.query;
1717

18-
import static org.springframework.util.ObjectUtils.*;
19-
2018
import org.springframework.lang.Nullable;
2119
import org.springframework.util.ObjectUtils;
2220

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/spel/NotOperatorNode.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
package org.springframework.data.mongodb.core.spel;
1717

1818
import org.springframework.expression.spel.ExpressionState;
19-
import org.springframework.expression.spel.SpelNode;
2019
import org.springframework.expression.spel.ast.OperatorNot;
2120

2221
/**

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/repository/query/AbstractMongoQuery.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
import org.springframework.data.util.Lazy;
4949
import org.springframework.expression.EvaluationContext;
5050
import org.springframework.expression.ExpressionParser;
51-
import org.springframework.lang.NonNull;
5251
import org.springframework.lang.Nullable;
5352
import org.springframework.util.Assert;
5453
import org.springframework.util.ObjectUtils;

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/repository/query/CollationUtils.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import org.springframework.data.mongodb.util.json.ParameterBindingDocumentCodec;
2626
import org.springframework.data.repository.query.QueryMethodEvaluationContextProvider;
2727
import org.springframework.expression.ExpressionParser;
28-
import org.springframework.expression.spel.standard.SpelExpressionParser;
2928
import org.springframework.lang.Nullable;
3029
import org.springframework.util.NumberUtils;
3130
import org.springframework.util.ObjectUtils;

0 commit comments

Comments
 (0)