Skip to content

Commit e797998

Browse files
committed
Code Formatting
1 parent eac7be9 commit e797998

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
lines changed

grpc-client-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/client/autoconfigure/GrpcClientAutoConfiguration.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
import java.util.Collections;
2020
import java.util.List;
2121

22-
import javax.annotation.PostConstruct;
23-
2422
import org.springframework.beans.factory.annotation.Autowired;
2523
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
2624
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
@@ -38,6 +36,7 @@
3836
import io.grpc.DecompressorRegistry;
3937
import io.grpc.NameResolverProvider;
4038
import io.grpc.NameResolverRegistry;
39+
import jakarta.annotation.PostConstruct;
4140
import lombok.extern.slf4j.Slf4j;
4241
import net.devh.boot.grpc.client.channelfactory.GrpcChannelConfigurer;
4342
import net.devh.boot.grpc.client.channelfactory.GrpcChannelFactory;

grpc-client-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/client/inject/GrpcClientBeanPostProcessor.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
import io.grpc.Channel;
6565
import io.grpc.ClientInterceptor;
6666
import io.grpc.stub.AbstractStub;
67-
import jakarta.annotation.PostConstruct;
6867
import net.devh.boot.grpc.client.channelfactory.GrpcChannelFactory;
6968
import net.devh.boot.grpc.client.nameresolver.NameResolverRegistration;
7069
import net.devh.boot.grpc.client.stubfactory.FallbackStubFactory;

tests/src/test/java/net/devh/boot/grpc/test/inject/GrpcClientMetricsTest.java

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
/*
2-
* Copyright (c) 2016-2023 Michael Zhang <[email protected]>
2+
* Copyright (c) 2016-2023 The gRPC-Spring Authors
33
*
4-
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
5-
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
6-
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
7-
* permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
87
*
9-
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
10-
* Software.
8+
* http://www.apache.org/licenses/LICENSE-2.0
119
*
12-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
13-
* WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
14-
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
15-
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
1615
*/
1716

1817
package net.devh.boot.grpc.test.inject;

0 commit comments

Comments
 (0)