Skip to content

Commit 545396e

Browse files
ngocnhan-tran1996onobc
authored andcommitted
Remove unused imports
Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent bfaf431 commit 545396e

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

spring-grpc-spring-boot-autoconfigure/src/main/java/org/springframework/grpc/autoconfigure/server/GrpcServerAutoConfiguration.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024-2024 the original author or authors.
2+
* Copyright 2024-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -34,8 +34,6 @@
3434
import org.springframework.grpc.server.service.DefaultGrpcServiceDiscoverer;
3535
import org.springframework.grpc.server.service.GrpcServiceConfigurer;
3636
import org.springframework.grpc.server.service.GrpcServiceDiscoverer;
37-
import org.springframework.grpc.server.service.ServerInterceptorFilter;
38-
import org.springframework.lang.Nullable;
3937

4038
import io.grpc.BindableService;
4139
import io.grpc.CompressorRegistry;

spring-grpc-spring-boot-autoconfigure/src/test/java/org/springframework/grpc/autoconfigure/client/GrpcClientAutoConfigurationTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023-2024 the original author or authors.
2+
* Copyright 2023-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -46,7 +46,6 @@
4646
import org.springframework.grpc.client.InProcessGrpcChannelFactory;
4747
import org.springframework.grpc.client.NettyGrpcChannelFactory;
4848
import org.springframework.grpc.client.ShadedNettyGrpcChannelFactory;
49-
import org.springframework.grpc.server.GrpcServerFactory;
5049

5150
import io.grpc.Codec;
5251
import io.grpc.CompressorRegistry;

spring-grpc-spring-boot-autoconfigure/src/test/java/org/springframework/grpc/autoconfigure/server/GrpcServerAutoConfigurationTests.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
package org.springframework.grpc.autoconfigure.server;
1818

1919
import static org.assertj.core.api.Assertions.assertThat;
20-
import static org.junit.jupiter.params.provider.Arguments.arguments;
2120
import static org.mockito.ArgumentMatchers.any;
2221
import static org.mockito.ArgumentMatchers.anyInt;
2322
import static org.mockito.Mockito.inOrder;
@@ -27,16 +26,11 @@
2726
import java.time.Duration;
2827
import java.util.List;
2928
import java.util.concurrent.TimeUnit;
30-
import java.util.function.Function;
31-
import java.util.stream.Stream;
3229

3330
import org.assertj.core.api.InstanceOfAssertFactories;
3431
import org.junit.jupiter.api.BeforeEach;
3532
import org.junit.jupiter.api.Nested;
3633
import org.junit.jupiter.api.Test;
37-
import org.junit.jupiter.params.ParameterizedTest;
38-
import org.junit.jupiter.params.provider.Arguments;
39-
import org.junit.jupiter.params.provider.MethodSource;
4034
import org.mockito.InOrder;
4135
import org.mockito.MockedStatic;
4236
import org.mockito.Mockito;

0 commit comments

Comments
 (0)