diff --git a/samples/grpc-server/src/test/java/org/springframework/grpc/sample/GrpcServerSideTests.java b/samples/grpc-server/src/test/java/org/springframework/grpc/sample/GrpcServerSideTests.java index 7d7603f6..187774f3 100644 --- a/samples/grpc-server/src/test/java/org/springframework/grpc/sample/GrpcServerSideTests.java +++ b/samples/grpc-server/src/test/java/org/springframework/grpc/sample/GrpcServerSideTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.sample; import static org.assertj.core.api.Assertions.assertThat; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/AbstractGrpcClientRegistrar.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/AbstractGrpcClientRegistrar.java index 0854f1f6..a3ce52fc 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/AbstractGrpcClientRegistrar.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/AbstractGrpcClientRegistrar.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client; import org.springframework.beans.factory.support.BeanDefinitionRegistry; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/AbstractStubFactory.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/AbstractStubFactory.java index b629b4b7..c972ab8a 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/AbstractStubFactory.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/AbstractStubFactory.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client; import java.util.function.Supplier; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/AnnotationGrpcClientRegistrar.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/AnnotationGrpcClientRegistrar.java index e6bd72de..0163c6bd 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/AnnotationGrpcClientRegistrar.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/AnnotationGrpcClientRegistrar.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client; import java.util.HashSet; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/BlockingStubFactory.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/BlockingStubFactory.java index 4a289b72..99d79a82 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/BlockingStubFactory.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/BlockingStubFactory.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client; import io.grpc.stub.AbstractBlockingStub; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/BlockingV2StubFactory.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/BlockingV2StubFactory.java index 4c06d1c8..ba512cbe 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/BlockingV2StubFactory.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/BlockingV2StubFactory.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client; import io.grpc.stub.AbstractBlockingStub; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/ChannelBuilderOptions.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/ChannelBuilderOptions.java index 01728072..9eabfdd8 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/ChannelBuilderOptions.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/ChannelBuilderOptions.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client; import java.time.Duration; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/ChannelCredentialsProvider.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/ChannelCredentialsProvider.java index 691c3d51..a6098faa 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/ChannelCredentialsProvider.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/ChannelCredentialsProvider.java @@ -12,7 +12,7 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * */ + */ package org.springframework.grpc.client; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/ClientInterceptorFilter.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/ClientInterceptorFilter.java index fc0d3e71..5513b245 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/ClientInterceptorFilter.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/ClientInterceptorFilter.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client; import io.grpc.ClientInterceptor; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/ClientInterceptorsConfigurer.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/ClientInterceptorsConfigurer.java index eaf6719f..67a02321 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/ClientInterceptorsConfigurer.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/ClientInterceptorsConfigurer.java @@ -12,7 +12,7 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * */ + */ package org.springframework.grpc.client; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/CoroutineStubFactory.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/CoroutineStubFactory.java index 7c577c92..13a7152d 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/CoroutineStubFactory.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/CoroutineStubFactory.java @@ -12,7 +12,7 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * */ + */ package org.springframework.grpc.client; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/FutureStubFactory.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/FutureStubFactory.java index ddabae86..b19e9c33 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/FutureStubFactory.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/FutureStubFactory.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client; import io.grpc.stub.AbstractBlockingStub; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/GlobalClientInterceptor.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/GlobalClientInterceptor.java index 26cab105..1252be97 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/GlobalClientInterceptor.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/GlobalClientInterceptor.java @@ -12,8 +12,6 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * - * Partial copy from net.devh:grpc-spring-boot-starter. */ package org.springframework.grpc.client; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/GrpcClientFactory.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/GrpcClientFactory.java index 48a6e6cd..e44c1583 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/GrpcClientFactory.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/GrpcClientFactory.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client; import java.io.IOException; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/ImportGrpcClients.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/ImportGrpcClients.java index 5c862d4e..616ee118 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/ImportGrpcClients.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/ImportGrpcClients.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client; import java.lang.annotation.Documented; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/InProcessGrpcChannelFactory.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/InProcessGrpcChannelFactory.java index 70672ee5..38f305c0 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/InProcessGrpcChannelFactory.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/InProcessGrpcChannelFactory.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client; import java.util.List; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/ReactorStubFactory.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/ReactorStubFactory.java index 8cb49f60..fa154e4a 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/ReactorStubFactory.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/ReactorStubFactory.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client; import io.grpc.stub.AbstractStub; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/SimpleStubFactory.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/SimpleStubFactory.java index 81698e9f..b40b2476 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/SimpleStubFactory.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/SimpleStubFactory.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client; import java.lang.reflect.Method; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/StubFactory.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/StubFactory.java index a855ff47..4c6a7933 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/StubFactory.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/StubFactory.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client; import java.util.function.Supplier; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/UnspecifiedStubFactory.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/UnspecifiedStubFactory.java index 6c18e6dc..4a000097 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/UnspecifiedStubFactory.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/UnspecifiedStubFactory.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client; import io.grpc.stub.AbstractStub; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/aot/ClientBeanRegistrationsAotProcessor.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/aot/ClientBeanRegistrationsAotProcessor.java index 60542eac..26ed0127 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/aot/ClientBeanRegistrationsAotProcessor.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/aot/ClientBeanRegistrationsAotProcessor.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client.aot; import java.lang.reflect.Modifier; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/interceptor/DefaultDeadlineSetupClientInterceptor.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/interceptor/DefaultDeadlineSetupClientInterceptor.java index 5ad86b84..3b1787c2 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/interceptor/DefaultDeadlineSetupClientInterceptor.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/interceptor/DefaultDeadlineSetupClientInterceptor.java @@ -12,7 +12,7 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ + */ package org.springframework.grpc.client.interceptor; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/interceptor/security/BasicAuthenticationInterceptor.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/interceptor/security/BasicAuthenticationInterceptor.java index b3b0f9b6..ffd226d4 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/interceptor/security/BasicAuthenticationInterceptor.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/interceptor/security/BasicAuthenticationInterceptor.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client.interceptor.security; import java.util.Base64; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/client/interceptor/security/BearerTokenAuthenticationInterceptor.java b/spring-grpc-core/src/main/java/org/springframework/grpc/client/interceptor/security/BearerTokenAuthenticationInterceptor.java index 3ba7e272..27e98a1d 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/client/interceptor/security/BearerTokenAuthenticationInterceptor.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/client/interceptor/security/BearerTokenAuthenticationInterceptor.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client.interceptor.security; import java.util.function.Supplier; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/internal/ApplicationContextBeanLookupUtils.java b/spring-grpc-core/src/main/java/org/springframework/grpc/internal/ApplicationContextBeanLookupUtils.java index f3a4ab60..7d7783f2 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/internal/ApplicationContextBeanLookupUtils.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/internal/ApplicationContextBeanLookupUtils.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.internal; import java.lang.annotation.Annotation; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/internal/ClasspathScanner.java b/spring-grpc-core/src/main/java/org/springframework/grpc/internal/ClasspathScanner.java index 8afc8a8f..b3c9a785 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/internal/ClasspathScanner.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/internal/ClasspathScanner.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.internal; import java.io.FileNotFoundException; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/GrpcServerFactory.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/GrpcServerFactory.java index 57f7dc58..35717272 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/GrpcServerFactory.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/GrpcServerFactory.java @@ -12,8 +12,6 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * - * Partial copy from net.devh:grpc-spring-boot-starter. */ package org.springframework.grpc.server; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/InProcessGrpcServerFactory.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/InProcessGrpcServerFactory.java index e23c64c9..1ee7faff 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/InProcessGrpcServerFactory.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/InProcessGrpcServerFactory.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server; import java.util.List; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/ServerServiceDefinitionFilter.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/ServerServiceDefinitionFilter.java index e8034035..8712a98f 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/ServerServiceDefinitionFilter.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/ServerServiceDefinitionFilter.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server; import io.grpc.ServerServiceDefinition; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/exception/CompositeGrpcExceptionHandler.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/exception/CompositeGrpcExceptionHandler.java index 2d4775d8..cf169529 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/exception/CompositeGrpcExceptionHandler.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/exception/CompositeGrpcExceptionHandler.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.exception; import io.grpc.StatusException; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/exception/GrpcExceptionHandledServerCall.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/exception/GrpcExceptionHandledServerCall.java index 207926d8..4d1cf88e 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/exception/GrpcExceptionHandledServerCall.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/exception/GrpcExceptionHandledServerCall.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.exception; import io.grpc.ForwardingServerCall; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/exception/GrpcExceptionHandler.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/exception/GrpcExceptionHandler.java index 6b193fc4..ca30b9ce 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/exception/GrpcExceptionHandler.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/exception/GrpcExceptionHandler.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.exception; import io.grpc.StatusException; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/exception/GrpcExceptionHandlerInterceptor.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/exception/GrpcExceptionHandlerInterceptor.java index bf019a6f..0159a4b5 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/exception/GrpcExceptionHandlerInterceptor.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/exception/GrpcExceptionHandlerInterceptor.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.exception; import org.apache.commons.logging.Log; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/exception/ReactiveStubBeanDefinitionRegistrar.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/exception/ReactiveStubBeanDefinitionRegistrar.java index c3adc018..4cf69c72 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/exception/ReactiveStubBeanDefinitionRegistrar.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/exception/ReactiveStubBeanDefinitionRegistrar.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.exception; import java.lang.reflect.Method; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/lifecycle/GrpcServerLifecycle.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/lifecycle/GrpcServerLifecycle.java index 05c4cae9..2e6220e8 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/lifecycle/GrpcServerLifecycle.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/lifecycle/GrpcServerLifecycle.java @@ -12,8 +12,6 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * - * Partial copy from net.devh:grpc-spring-boot-starter. */ package org.springframework.grpc.server.lifecycle; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/lifecycle/GrpcServerLifecycleEvent.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/lifecycle/GrpcServerLifecycleEvent.java index b484eb88..6c880792 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/lifecycle/GrpcServerLifecycleEvent.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/lifecycle/GrpcServerLifecycleEvent.java @@ -12,8 +12,6 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * - * Partial copy from net.devh:grpc-spring-boot-starter. */ package org.springframework.grpc.server.lifecycle; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/lifecycle/GrpcServerShutdownEvent.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/lifecycle/GrpcServerShutdownEvent.java index 5acc5296..1bd4a373 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/lifecycle/GrpcServerShutdownEvent.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/lifecycle/GrpcServerShutdownEvent.java @@ -12,8 +12,6 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * - * Partial copy from net.devh:grpc-spring-boot-starter. */ package org.springframework.grpc.server.lifecycle; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/lifecycle/GrpcServerStartedEvent.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/lifecycle/GrpcServerStartedEvent.java index aeb8dd7f..6f72cd30 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/lifecycle/GrpcServerStartedEvent.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/lifecycle/GrpcServerStartedEvent.java @@ -12,8 +12,6 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * - * Partial copy from net.devh:grpc-spring-boot-starter. */ package org.springframework.grpc.server.lifecycle; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/lifecycle/GrpcServerTerminatedEvent.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/lifecycle/GrpcServerTerminatedEvent.java index 2aece7fc..ce900276 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/lifecycle/GrpcServerTerminatedEvent.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/lifecycle/GrpcServerTerminatedEvent.java @@ -12,8 +12,6 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * - * Partial copy from net.devh:grpc-spring-boot-starter. */ package org.springframework.grpc.server.lifecycle; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/AuthenticationProcessInterceptor.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/AuthenticationProcessInterceptor.java index a2b573ac..15bf7b2a 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/AuthenticationProcessInterceptor.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/AuthenticationProcessInterceptor.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.security; import org.springframework.core.Ordered; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/BearerTokenAuthenticationExtractor.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/BearerTokenAuthenticationExtractor.java index 4598be7e..4f4b7980 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/BearerTokenAuthenticationExtractor.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/BearerTokenAuthenticationExtractor.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.security; import java.util.Locale; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/CallContext.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/CallContext.java index 77135716..4a42c0ea 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/CallContext.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/CallContext.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.security; import io.grpc.Attributes; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/CallMatcher.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/CallMatcher.java index decaf645..733b45b2 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/CallMatcher.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/CallMatcher.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.security; interface CallMatcher { diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/GrpcAuthenticationExtractor.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/GrpcAuthenticationExtractor.java index 8ffd93ec..bfba6c44 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/GrpcAuthenticationExtractor.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/GrpcAuthenticationExtractor.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.security; import org.springframework.security.core.Authentication; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/GrpcSecurity.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/GrpcSecurity.java index 1d130952..2756d7d2 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/GrpcSecurity.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/GrpcSecurity.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.security; import java.util.ArrayList; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/HttpBasicAuthenticationExtractor.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/HttpBasicAuthenticationExtractor.java index 901700ab..05b6c44e 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/HttpBasicAuthenticationExtractor.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/HttpBasicAuthenticationExtractor.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.security; import java.nio.charset.StandardCharsets; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/HttpBasicConfigurer.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/HttpBasicConfigurer.java index 0b4386ad..45b54299 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/HttpBasicConfigurer.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/HttpBasicConfigurer.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.security; import org.springframework.context.ApplicationContext; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/OAuth2ResourceServerConfigurer.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/OAuth2ResourceServerConfigurer.java index c185e37b..c2e656bd 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/OAuth2ResourceServerConfigurer.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/OAuth2ResourceServerConfigurer.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.security; import java.util.function.Supplier; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/PreAuthConfigurer.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/PreAuthConfigurer.java index 557588f6..5bbf61b7 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/PreAuthConfigurer.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/PreAuthConfigurer.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.security; import org.springframework.context.ApplicationContext; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/RequestMapperConfigurer.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/RequestMapperConfigurer.java index b7db46ee..29b116b3 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/RequestMapperConfigurer.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/RequestMapperConfigurer.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.security; import java.util.ArrayList; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/SecurityContextServerInterceptor.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/SecurityContextServerInterceptor.java index 66cd7d10..a0e13898 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/SecurityContextServerInterceptor.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/SecurityContextServerInterceptor.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.security; import org.springframework.core.Ordered; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/SecurityGrpcExceptionHandler.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/SecurityGrpcExceptionHandler.java index 02d0a442..b92b8f94 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/SecurityGrpcExceptionHandler.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/SecurityGrpcExceptionHandler.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.security; import org.apache.commons.logging.Log; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/SslContextPreAuthenticationExtractor.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/SslContextPreAuthenticationExtractor.java index baeeb268..dbb19318 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/SslContextPreAuthenticationExtractor.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/security/SslContextPreAuthenticationExtractor.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.security; import java.security.cert.Certificate; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/service/DefaultGrpcServiceConfigurer.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/service/DefaultGrpcServiceConfigurer.java index 386a00b8..d09f4fb0 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/service/DefaultGrpcServiceConfigurer.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/service/DefaultGrpcServiceConfigurer.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.service; import java.util.ArrayList; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/service/GrpcService.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/service/GrpcService.java index 8e7efabd..12b590a3 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/service/GrpcService.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/service/GrpcService.java @@ -12,8 +12,6 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * - * Copy from net.devh:grpc-spring-boot-starter. */ package org.springframework.grpc.server.service; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/service/GrpcServiceInfo.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/service/GrpcServiceInfo.java index 88c8d898..a21bbe85 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/service/GrpcServiceInfo.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/service/GrpcServiceInfo.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.service; import java.util.List; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/service/GrpcServiceSpec.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/service/GrpcServiceSpec.java index b368cc8e..eb4af42f 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/service/GrpcServiceSpec.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/service/GrpcServiceSpec.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.service; import org.springframework.lang.Nullable; diff --git a/spring-grpc-core/src/main/java/org/springframework/grpc/server/service/ServerInterceptorFilter.java b/spring-grpc-core/src/main/java/org/springframework/grpc/server/service/ServerInterceptorFilter.java index 5a9ed273..8ea993df 100644 --- a/spring-grpc-core/src/main/java/org/springframework/grpc/server/service/ServerInterceptorFilter.java +++ b/spring-grpc-core/src/main/java/org/springframework/grpc/server/service/ServerInterceptorFilter.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.service; import io.grpc.ServerInterceptor; diff --git a/spring-grpc-core/src/test/java/org/springframework/grpc/client/ChannelBuilderOptionsTests.java b/spring-grpc-core/src/test/java/org/springframework/grpc/client/ChannelBuilderOptionsTests.java index b027b7a6..4550b979 100644 --- a/spring-grpc-core/src/test/java/org/springframework/grpc/client/ChannelBuilderOptionsTests.java +++ b/spring-grpc-core/src/test/java/org/springframework/grpc/client/ChannelBuilderOptionsTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client; import static org.assertj.core.api.Assertions.assertThat; diff --git a/spring-grpc-core/src/test/java/org/springframework/grpc/client/CompositeGrpcChannelFactoryTests.java b/spring-grpc-core/src/test/java/org/springframework/grpc/client/CompositeGrpcChannelFactoryTests.java index 9ddde909..c535919c 100644 --- a/spring-grpc-core/src/test/java/org/springframework/grpc/client/CompositeGrpcChannelFactoryTests.java +++ b/spring-grpc-core/src/test/java/org/springframework/grpc/client/CompositeGrpcChannelFactoryTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client; import static org.assertj.core.api.Assertions.assertThat; diff --git a/spring-grpc-core/src/test/java/org/springframework/grpc/client/DefaultGrpcChannelFactoryShutdownTests.java b/spring-grpc-core/src/test/java/org/springframework/grpc/client/DefaultGrpcChannelFactoryShutdownTests.java index 6be4d194..d716135d 100644 --- a/spring-grpc-core/src/test/java/org/springframework/grpc/client/DefaultGrpcChannelFactoryShutdownTests.java +++ b/spring-grpc-core/src/test/java/org/springframework/grpc/client/DefaultGrpcChannelFactoryShutdownTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client; import static org.mockito.ArgumentMatchers.anyLong; diff --git a/spring-grpc-core/src/test/java/org/springframework/grpc/client/GrpcChannelFactoryTests.java b/spring-grpc-core/src/test/java/org/springframework/grpc/client/GrpcChannelFactoryTests.java index 4625f6a1..b793157d 100644 --- a/spring-grpc-core/src/test/java/org/springframework/grpc/client/GrpcChannelFactoryTests.java +++ b/spring-grpc-core/src/test/java/org/springframework/grpc/client/GrpcChannelFactoryTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client; import static org.assertj.core.api.Assertions.assertThat; diff --git a/spring-grpc-core/src/test/java/org/springframework/grpc/client/GrpcClientFactoryTests.java b/spring-grpc-core/src/test/java/org/springframework/grpc/client/GrpcClientFactoryTests.java index cfd73d67..95291bb1 100644 --- a/spring-grpc-core/src/test/java/org/springframework/grpc/client/GrpcClientFactoryTests.java +++ b/spring-grpc-core/src/test/java/org/springframework/grpc/client/GrpcClientFactoryTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.client; import static org.assertj.core.api.Assertions.assertThat; diff --git a/spring-grpc-core/src/test/java/org/springframework/grpc/internal/ClasspathScannerTests.java b/spring-grpc-core/src/test/java/org/springframework/grpc/internal/ClasspathScannerTests.java index c2727240..7cdccb27 100644 --- a/spring-grpc-core/src/test/java/org/springframework/grpc/internal/ClasspathScannerTests.java +++ b/spring-grpc-core/src/test/java/org/springframework/grpc/internal/ClasspathScannerTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.internal; import static org.assertj.core.api.Assertions.assertThat; diff --git a/spring-grpc-core/src/test/java/org/springframework/grpc/internal/GrpcUtilsTests.java b/spring-grpc-core/src/test/java/org/springframework/grpc/internal/GrpcUtilsTests.java index 00937f59..43889224 100644 --- a/spring-grpc-core/src/test/java/org/springframework/grpc/internal/GrpcUtilsTests.java +++ b/spring-grpc-core/src/test/java/org/springframework/grpc/internal/GrpcUtilsTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.internal; import static org.assertj.core.api.Assertions.assertThat; diff --git a/spring-grpc-core/src/test/java/org/springframework/grpc/server/exception/GrpcExceptionHandlerInterceptorTests.java b/spring-grpc-core/src/test/java/org/springframework/grpc/server/exception/GrpcExceptionHandlerInterceptorTests.java index 2175faf7..9d91c885 100644 --- a/spring-grpc-core/src/test/java/org/springframework/grpc/server/exception/GrpcExceptionHandlerInterceptorTests.java +++ b/spring-grpc-core/src/test/java/org/springframework/grpc/server/exception/GrpcExceptionHandlerInterceptorTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.exception; import static org.assertj.core.api.Assertions.assertThat; diff --git a/spring-grpc-core/src/test/java/org/springframework/grpc/server/exception/ReactiveStubBeanDefinitionRegistrarTests.java b/spring-grpc-core/src/test/java/org/springframework/grpc/server/exception/ReactiveStubBeanDefinitionRegistrarTests.java index 6cbcd18b..67317eca 100644 --- a/spring-grpc-core/src/test/java/org/springframework/grpc/server/exception/ReactiveStubBeanDefinitionRegistrarTests.java +++ b/spring-grpc-core/src/test/java/org/springframework/grpc/server/exception/ReactiveStubBeanDefinitionRegistrarTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.exception; import static org.assertj.core.api.Assertions.assertThat; diff --git a/spring-grpc-core/src/test/java/org/springframework/grpc/server/service/GrpcServiceInfoTests.java b/spring-grpc-core/src/test/java/org/springframework/grpc/server/service/GrpcServiceInfoTests.java index 4ce575cb..a433f8a3 100644 --- a/spring-grpc-core/src/test/java/org/springframework/grpc/server/service/GrpcServiceInfoTests.java +++ b/spring-grpc-core/src/test/java/org/springframework/grpc/server/service/GrpcServiceInfoTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.grpc.server.service; import static org.assertj.core.api.Assertions.assertThat; diff --git a/src/checkstyle/checkstyle-header.txt b/src/checkstyle/checkstyle-header.txt index 8af9da89..7e182ab3 100644 --- a/src/checkstyle/checkstyle-header.txt +++ b/src/checkstyle/checkstyle-header.txt @@ -12,3 +12,6 @@ ^\Q * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\E$ ^\Q * See the License for the specific language governing permissions and\E$ ^\Q * limitations under the License.\E$ +^\Q */\E$ +^$ +^.*$