Fix Javadoc.
This commit is contained in:
@@ -101,12 +101,12 @@ public class EnvironmentMapAdapter extends AbstractMap<String, String> {
|
||||
|
||||
/**
|
||||
* Gets the {@link String value} for the property identified by the given {@link Map} {@link Object key}
|
||||
* from the underlying {@link Environment).
|
||||
* from the underlying {@link Environment}.
|
||||
*
|
||||
* @param key {@link Object key} identifying the property whose value will be retrieved from the {@link Environment}.
|
||||
* @return the {@link String value} of the property identified by the given {@link Map} {@link Object key}
|
||||
* from the {@link Environment}.
|
||||
* @see org.springframework.core.env.Environment#getProperty(:String)
|
||||
* @see org.springframework.core.env.Environment#getProperty(String)
|
||||
* @see #getEnvironment()
|
||||
*/
|
||||
@Override
|
||||
@@ -142,7 +142,7 @@ public class EnvironmentMapAdapter extends AbstractMap<String, String> {
|
||||
}
|
||||
|
||||
/**
|
||||
* {@link EnvironmentEntry} is a {@link Map.Entry} implementation mapping an {@link Environment} property (key)
|
||||
* {@link EnvironmentEntry} is a {@code Map.Entry} implementation mapping an {@link Environment} property (key)
|
||||
* to its value.
|
||||
*
|
||||
* @see java.util.Map.Entry
|
||||
@@ -173,7 +173,7 @@ public class EnvironmentMapAdapter extends AbstractMap<String, String> {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the configured {@link Environment} to which this {@link Map.Entry} belongs.
|
||||
* Returns the configured {@link Environment} to which this {@code Map.Entry} belongs.
|
||||
*
|
||||
* @return the configured {@link Environment}; never {@literal null}.
|
||||
* @see org.springframework.core.env.Environment
|
||||
@@ -183,9 +183,9 @@ public class EnvironmentMapAdapter extends AbstractMap<String, String> {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the {@link String key} (property) of this {@link Map.Entry}.
|
||||
* Gets the {@link String key} (property) of this {@code Map.Entry}.
|
||||
*
|
||||
* @return the {@link String key} (property) of this {@link Map.Entry}.
|
||||
* @return the {@link String key} (property) of this {@code Map.Entry}.
|
||||
*/
|
||||
@Override
|
||||
public @NonNull String getKey() {
|
||||
@@ -193,10 +193,10 @@ public class EnvironmentMapAdapter extends AbstractMap<String, String> {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the {@link String value} mapped to the {@link #getKey() key} (property) in this {@link Map.Entry}
|
||||
* Gets the {@link String value} mapped to the {@link #getKey() key} (property) in this {@code Map.Entry}
|
||||
* ({@link Environment}).
|
||||
*
|
||||
* @return the {@link String value} mapped to the {@link #getKey() key} (property) in this {@link Map.Entry}
|
||||
* @return the {@link String value} mapped to the {@link #getKey() key} (property) in this {@code Map.Entry}
|
||||
* ({@link Environment}).
|
||||
* @see org.springframework.core.env.Environment#getProperty(String)
|
||||
* @see #getEnvironment()
|
||||
|
||||
@@ -114,10 +114,10 @@ public class FileResourceWriter extends AbstractResourceWriter {
|
||||
|
||||
/**
|
||||
* Returns the configured {@link OpenOption OpenOptions} used to configure the stream writing to the {@link File}.
|
||||
* <p>
|
||||
*
|
||||
* By default, the {@link File} will be {@link StandardOpenOption#CREATE created},
|
||||
* {@link StandardOpenOption#TRUNCATE_EXISTING, trucated} and {@link StandardOpenOption#WRITE written} to.
|
||||
* <p>
|
||||
* {@link StandardOpenOption#TRUNCATE_EXISTING truncated} and {@link StandardOpenOption#WRITE written} to.
|
||||
*
|
||||
* Subclasses should override this method to tune the {@link File} stream based on context and requirements.
|
||||
*
|
||||
* @return configured {@link OpenOption OpenOptions}.
|
||||
|
||||
@@ -280,7 +280,7 @@ public abstract class ObjectUtils extends org.springframework.util.ObjectUtils {
|
||||
* @param target {@link Object} to evaluate and initialize; must not be {@literal null}.
|
||||
* @param supplier {@link Supplier} used to initialize the {@link Object target} on return.
|
||||
* @return the existing {@link Object target} if not {@literal null}, otherwise invoke the {@link Supplier}
|
||||
* to supply a new instance of {@link T}.
|
||||
* to supply a new instance of {@code T}.
|
||||
*/
|
||||
public static <T> T initialize(@Nullable T target, @NonNull Supplier<T> supplier) {
|
||||
return target != null ? target : supplier.get();
|
||||
@@ -340,7 +340,7 @@ public abstract class ObjectUtils extends org.springframework.util.ObjectUtils {
|
||||
/**
|
||||
* Makes the {@link Method} accessible.
|
||||
*
|
||||
* @param constructor {@link Method} to make accessible; must not be {@literal null}.
|
||||
* @param method {@link Method} to make accessible; must not be {@literal null}.
|
||||
* @return the given {@link Method}.
|
||||
* @see java.lang.reflect.Method
|
||||
*/
|
||||
|
||||
@@ -179,7 +179,7 @@ public class JsonCacheDataImporterExporter extends ResourceCapableCacheDataImpor
|
||||
|
||||
/**
|
||||
* Resolves the {@link Object key} used to map the given {@link PdxInstance} as the {@link Object value}
|
||||
* for the {@link Region.Entry entry} stored in the {@link Region}.
|
||||
* for the {@code Region.Entry} stored in the {@link Region}.
|
||||
*
|
||||
* @param pdxInstance {@link PdxInstance} used to resolve the {@link Object key}.
|
||||
* @return the resolved {@link Object key}.
|
||||
|
||||
Reference in New Issue
Block a user