Polish
See gh-27940
This commit is contained in:
committed by
Stephane Nicoll
parent
b8b2e56fab
commit
cf0fcafd13
@@ -17,7 +17,7 @@
|
||||
package org.springframework.boot.buildpack.platform.build;
|
||||
|
||||
/**
|
||||
* Strategy inerface used to resolve a {@link BuildpackReference} to a {@link Buildpack}.
|
||||
* Strategy interface used to resolve a {@link BuildpackReference} to a {@link Buildpack}.
|
||||
*
|
||||
* @author Scott Frederick
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.boot.buildpack.platform.io.Content;
|
||||
import org.springframework.boot.buildpack.platform.io.Owner;
|
||||
|
||||
/**
|
||||
* An short lived builder that is created for each {@link Lifecycle} run.
|
||||
* A short lived builder that is created for each {@link Lifecycle} run.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Scott Frederick
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2020 the original author or authors.
|
||||
* Copyright 2012-2021 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.
|
||||
@@ -66,7 +66,7 @@ abstract class HttpClientTransport implements HttpTransport {
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform a HTTP GET operation.
|
||||
* Perform an HTTP GET operation.
|
||||
* @param uri the destination URI
|
||||
* @return the operation response
|
||||
*/
|
||||
@@ -76,7 +76,7 @@ abstract class HttpClientTransport implements HttpTransport {
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform a HTTP POST operation.
|
||||
* Perform an HTTP POST operation.
|
||||
* @param uri the destination URI
|
||||
* @return the operation response
|
||||
*/
|
||||
@@ -86,7 +86,7 @@ abstract class HttpClientTransport implements HttpTransport {
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform a HTTP POST operation.
|
||||
* Perform an HTTP POST operation.
|
||||
* @param uri the destination URI
|
||||
* @param registryAuth registry authentication credentials
|
||||
* @return the operation response
|
||||
@@ -97,7 +97,7 @@ abstract class HttpClientTransport implements HttpTransport {
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform a HTTP POST operation.
|
||||
* Perform an HTTP POST operation.
|
||||
* @param uri the destination URI
|
||||
* @param contentType the content type to write
|
||||
* @param writer a content writer
|
||||
@@ -109,7 +109,7 @@ abstract class HttpClientTransport implements HttpTransport {
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform a HTTP PUT operation.
|
||||
* Perform an HTTP PUT operation.
|
||||
* @param uri the destination URI
|
||||
* @param contentType the content type to write
|
||||
* @param writer a content writer
|
||||
@@ -121,7 +121,7 @@ abstract class HttpClientTransport implements HttpTransport {
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform a HTTP DELETE operation.
|
||||
* Perform an HTTP DELETE operation.
|
||||
* @param uri the destination URI
|
||||
* @return the operation response
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2020 the original author or authors.
|
||||
* Copyright 2012-2021 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.
|
||||
@@ -37,7 +37,7 @@ import org.springframework.boot.buildpack.platform.system.Environment;
|
||||
public interface HttpTransport {
|
||||
|
||||
/**
|
||||
* Perform a HTTP GET operation.
|
||||
* Perform an HTTP GET operation.
|
||||
* @param uri the destination URI (excluding any host/port)
|
||||
* @return the operation response
|
||||
* @throws IOException on IO error
|
||||
@@ -45,7 +45,7 @@ public interface HttpTransport {
|
||||
Response get(URI uri) throws IOException;
|
||||
|
||||
/**
|
||||
* Perform a HTTP POST operation.
|
||||
* Perform an HTTP POST operation.
|
||||
* @param uri the destination URI (excluding any host/port)
|
||||
* @return the operation response
|
||||
* @throws IOException on IO error
|
||||
@@ -53,7 +53,7 @@ public interface HttpTransport {
|
||||
Response post(URI uri) throws IOException;
|
||||
|
||||
/**
|
||||
* Perform a HTTP POST operation.
|
||||
* Perform an HTTP POST operation.
|
||||
* @param uri the destination URI (excluding any host/port)
|
||||
* @param registryAuth registry authentication credentials
|
||||
* @return the operation response
|
||||
@@ -62,7 +62,7 @@ public interface HttpTransport {
|
||||
Response post(URI uri, String registryAuth) throws IOException;
|
||||
|
||||
/**
|
||||
* Perform a HTTP POST operation.
|
||||
* Perform an HTTP POST operation.
|
||||
* @param uri the destination URI (excluding any host/port)
|
||||
* @param contentType the content type to write
|
||||
* @param writer a content writer
|
||||
@@ -72,7 +72,7 @@ public interface HttpTransport {
|
||||
Response post(URI uri, String contentType, IOConsumer<OutputStream> writer) throws IOException;
|
||||
|
||||
/**
|
||||
* Perform a HTTP PUT operation.
|
||||
* Perform an HTTP PUT operation.
|
||||
* @param uri the destination URI (excluding any host/port)
|
||||
* @param contentType the content type to write
|
||||
* @param writer a content writer
|
||||
@@ -82,7 +82,7 @@ public interface HttpTransport {
|
||||
Response put(URI uri, String contentType, IOConsumer<OutputStream> writer) throws IOException;
|
||||
|
||||
/**
|
||||
* Perform a HTTP DELETE operation.
|
||||
* Perform an HTTP DELETE operation.
|
||||
* @param uri the destination URI (excluding any host/port)
|
||||
* @return the operation response
|
||||
* @throws IOException on IO error
|
||||
|
||||
@@ -110,7 +110,7 @@ class LombokMetadataGenerationTests extends AbstractMetadataGenerationTests {
|
||||
// For some reason the annotation processor resolves a type for SimpleLombokPojo
|
||||
// that is resolved (compiled) and the source annotations are gone. Because we
|
||||
// don't see the @Data annotation anymore, no field is harvested. What is crazy is
|
||||
// that a sample project works fine so this seem to be related to the unit test
|
||||
// that a sample project works fine so this seems to be related to the unit test
|
||||
// environment for some reason. assertThat(metadata,
|
||||
// containsProperty("config.third.value"));
|
||||
assertThat(metadata).has(Metadata.withProperty("config.fourth"));
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
* Copyright 2012-2021 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.
|
||||
@@ -19,7 +19,7 @@ package org.springframework.boot.configurationsample.endpoint;
|
||||
import org.springframework.boot.configurationsample.Endpoint;
|
||||
|
||||
/**
|
||||
* An endpoint with a upper camel case id.
|
||||
* An endpoint with an upper camel case id.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
*/
|
||||
|
||||
@@ -392,7 +392,7 @@ include::../gradle/packaging/boot-build-image-docker-host.gradle[tags=docker-hos
|
||||
include::../gradle/packaging/boot-build-image-docker-host.gradle.kts[tags=docker-host]
|
||||
----
|
||||
|
||||
If the builder or run image are stored in a private Docker registry that supports user authentication, authentication details can be provided using `docker.buiderRegistry` properties as shown in the following example:
|
||||
If the builder or run image are stored in a private Docker registry that supports user authentication, authentication details can be provided using `docker.builderRegistry` properties as shown in the following example:
|
||||
|
||||
[source,groovy,indent=0,subs="verbatim,attributes",role="primary"]
|
||||
.Groovy
|
||||
|
||||
@@ -55,7 +55,7 @@ import org.springframework.boot.loader.tools.Libraries;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* Package an application into a OCI image using a buildpack.
|
||||
* Package an application into an OCI image using a buildpack.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Scott Frederick
|
||||
|
||||
Reference in New Issue
Block a user