From cc2852ce794a34dc309bb0c134d2ae821a445d15 Mon Sep 17 00:00:00 2001 From: Scott Frederick Date: Wed, 1 Apr 2020 18:43:11 -0500 Subject: [PATCH] Polish --- .../LocalDockerSchemePortResolver.java | 17 ----------------- .../transport/LocalHttpClientTransport.java | 3 +-- 2 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/transport/LocalDockerSchemePortResolver.java diff --git a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/transport/LocalDockerSchemePortResolver.java b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/transport/LocalDockerSchemePortResolver.java deleted file mode 100644 index 6032d9f74f..0000000000 --- a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/transport/LocalDockerSchemePortResolver.java +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright 2012-2020 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. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * 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.boot.buildpack.platform.docker.transport; diff --git a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/transport/LocalHttpClientTransport.java b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/transport/LocalHttpClientTransport.java index 3e4e3dd88b..7701bcd0ed 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/transport/LocalHttpClientTransport.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/transport/LocalHttpClientTransport.java @@ -80,8 +80,7 @@ final class LocalHttpClientTransport extends HttpClientTransport { } /** - * {@link DnsResolver} used by the {@link LocalDockerHttpClientConnectionManager} to - * ensure only the loopback address is used. + * {@link DnsResolver} that ensures only the loopback address is used. */ private static class LocalDnsResolver implements DnsResolver {