Fix typos

See gh-30773
This commit is contained in:
Andy Wilkinson
2022-05-03 14:09:37 +01:00
parent 561526f802
commit f6d24dc1a8
48 changed files with 63 additions and 64 deletions

View File

@@ -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

View File

@@ -155,7 +155,7 @@ public final class ImageReference {
/**
* Return an {@link ImageReference} containing either a tag or a digest. If neither
* the digest or the tag has been defined then tag {@code latest} is used.
* the digest nor the tag has been defined then tag {@code latest} is used.
* @return the image reference in tagged or digest form
*/
public ImageReference inTaggedOrDigestForm() {

View File

@@ -64,7 +64,7 @@ class BuildpackReferenceTests {
}
@Test
void hasPrefixWhenPrifixMismatchReturnsFalse() {
void hasPrefixWhenPrefixMismatchReturnsFalse() {
BuildpackReference reference = BuildpackReference.of("test");
assertThat(reference.hasPrefix("st")).isFalse();
}