Polish javadoc comments

See gh-27925
This commit is contained in:
dreis2211 2021-09-09 17:51:25 +02:00 committed by Stephane Nicoll
parent 12c197df8e
commit e1afc91ae2
6 changed files with 9 additions and 11 deletions

View File

@ -98,7 +98,7 @@ public class JacksonProperties {
private Boolean defaultLeniency; private Boolean defaultLeniency;
/** /**
* Strategy to use to to auto-detect constructor, and in particular behavior with * Strategy to use to auto-detect constructor, and in particular behavior with
* single-argument constructors. * single-argument constructors.
*/ */
private ConstructorDetectorStrategy constructorDetector; private ConstructorDetectorStrategy constructorDetector;

View File

@ -26,10 +26,9 @@ import org.springframework.boot.ConfigurableBootstrapContext;
import org.springframework.boot.logging.DeferredLogFactory; import org.springframework.boot.logging.DeferredLogFactory;
/** /**
* Strategy class that can be used used to load {@link ConfigData} for a given * Strategy class that can be used to load {@link ConfigData} for a given
* {@link ConfigDataResource}. Implementations should be added as a * {@link ConfigDataResource}. Implementations should be added as {@code spring.factories}
* {@code spring.factories} entries. The following constructor parameter types are * entries. The following constructor parameter types are supported:
* supported:
* <ul> * <ul>
* <li>{@link Log} or {@link DeferredLogFactory} - if the loader needs deferred * <li>{@link Log} or {@link DeferredLogFactory} - if the loader needs deferred
* logging</li> * logging</li>

View File

@ -53,7 +53,7 @@ public final class ConfigDataLocation implements OriginProvider {
} }
/** /**
* Return the the location is optional and should ignore * Return if the location is optional and should ignore
* {@link ConfigDataNotFoundException}. * {@link ConfigDataNotFoundException}.
* @return if the location is optional * @return if the location is optional
*/ */

View File

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -29,7 +29,7 @@ import org.springframework.core.annotation.MergedAnnotation;
import org.springframework.core.annotation.MergedAnnotations; import org.springframework.core.annotation.MergedAnnotations;
/** /**
* An {@AbstractInjectionFailureAnalyzer} for * An {@link AbstractInjectionFailureAnalyzer} for
* {@link ConfigurationProperties @ConfigurationProperties} that are intended to use * {@link ConfigurationProperties @ConfigurationProperties} that are intended to use
* {@link ConstructorBinding constructor binding} but did not. * {@link ConstructorBinding constructor binding} but did not.
* *

View File

@ -165,7 +165,7 @@ public class ConfigTreePropertySource extends EnumerablePropertySource<Path> imp
} }
/** /**
* A single property file that was found when when the source was created. * A single property file that was found when the source was created.
*/ */
private static final class PropertyFile { private static final class PropertyFile {

View File

@ -108,8 +108,7 @@ public class ContainerConfigAssert extends AbstractAssert<ContainerConfigAssert,
} }
/** /**
* Asserts for the the JSON content in the {@code io.buildpacks.lifecycle.metadata} * Asserts for the JSON content in the {@code io.buildpacks.lifecycle.metadata} label.
* label.
* *
* See <a href= * See <a href=
* "https://github.com/buildpacks/spec/blob/main/platform.md#iobuildpackslifecyclemetadata-json">the * "https://github.com/buildpacks/spec/blob/main/platform.md#iobuildpackslifecyclemetadata-json">the