This is an automated email from the ASF dual-hosted git repository. desruisseaux pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/sis.git
commit 2ce512f85a6e66adb8645e1641e15e5c15191863 Author: Martin Desruisseaux <martin.desruisse...@geomatys.com> AuthorDate: Thu Oct 5 15:43:08 2023 +0200 Fix more Javadoc errors. --- .../main/org/apache/sis/feature/AbstractFeature.java | 2 +- .../apache/sis/xml/bind/metadata/code/MD_CharacterSetCode.java | 2 +- .../main/org/apache/sis/referencing/IdentifiedObjects.java | 2 +- .../apache/sis/referencing/factory/GeodeticObjectFactory.java | 2 +- .../main/org/apache/sis/storage/FeatureQuery.java | 9 +++++---- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/AbstractFeature.java b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/AbstractFeature.java index 033cc8d924..fc502bf8ec 100644 --- a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/AbstractFeature.java +++ b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/AbstractFeature.java @@ -437,7 +437,7 @@ public abstract class AbstractFeature implements Serializable { * but the {@linkplain FeatureOperations#link link} and * {@linkplain FeatureOperations#compound compound} operations (for instances) do. * Whether an operation is writable or not depends on whether the computed {@link Property} - * supports {@link Attribute#setValue(Object)} or {@link FeatureAssociation#setValue(Feature)}. + * supports {@link AbstractAttribute#setValue(Object)} or {@link AbstractAssociation#setValue(Feature)}. * * @param name the name of the operation to execute. The caller is responsible to ensure that the * property type for that name is an instance of {@link AbstractOperation}. diff --git a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/bind/metadata/code/MD_CharacterSetCode.java b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/bind/metadata/code/MD_CharacterSetCode.java index ff2fbfbfc0..9a7f67e7e3 100644 --- a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/bind/metadata/code/MD_CharacterSetCode.java +++ b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/bind/metadata/code/MD_CharacterSetCode.java @@ -109,7 +109,7 @@ public final class MD_CharacterSetCode extends XmlAdapter<MD_CharacterSetCode, C /** * Converts the given Java Character Set to {@code CharacterSet}. * - * @param cs the character set, or {@cod null}. + * @param cs the character set, or {@code null}. * @return a code list for the given character set, or {@code null} if the given {@code cs} was null. */ public static CharacterSet fromCharset(final Charset cs) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/IdentifiedObjects.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/IdentifiedObjects.java index 35e548cfe3..7f5c15a198 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/IdentifiedObjects.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/IdentifiedObjects.java @@ -91,7 +91,7 @@ public final class IdentifiedObjects extends Static { * <td>{@link AbstractIdentifiedObject#getDomains()}</td></tr> * <tr><td>{@value org.opengis.referencing.IdentifiedObject#REMARKS_KEY}</td> * <td>{@link IdentifiedObject#getRemarks()}</td></tr> - * <tr><td>{@value org.opengis.referencing.ReferenceSystem#SCOPE_KEY</td> + * <tr><td>{@value org.opengis.referencing.ReferenceSystem#SCOPE_KEY}</td> * <td>{@link DefaultObjectDomain#getScope()}</td></tr> * <tr><td>{@value org.opengis.referencing.ReferenceSystem#DOMAIN_OF_VALIDITY_KEY}</td> * <td>{@link DefaultObjectDomain#getDomainOfValidity()}</td></tr> diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/factory/GeodeticObjectFactory.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/factory/GeodeticObjectFactory.java index d979184f3f..30b647a50c 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/factory/GeodeticObjectFactory.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/factory/GeodeticObjectFactory.java @@ -139,7 +139,7 @@ import org.apache.sis.xml.XML; * </tr><tr> * <td>{@value org.opengis.referencing.ReferenceSystem#SCOPE_KEY}</td> * <td>{@link String} or {@link InternationalString}</td> - * <td>{@link DefaultObjectDomain#getScope()}</td> + * <td>{@link org.apache.sis.referencing.DefaultObjectDomain#getScope()}</td> * </tr><tr> * <td>{@value org.opengis.referencing.datum.Datum#ANCHOR_POINT_KEY}</td> * <td>{@link InternationalString} or {@link String}</td> diff --git a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/FeatureQuery.java b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/FeatureQuery.java index 9a5b59763b..1353ab3c74 100644 --- a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/FeatureQuery.java +++ b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/FeatureQuery.java @@ -52,6 +52,7 @@ import org.apache.sis.util.resources.Vocabulary; import org.apache.sis.feature.AbstractFeature; import org.apache.sis.feature.DefaultFeatureType; import org.apache.sis.feature.DefaultAttributeType; +import org.apache.sis.feature.AbstractAttribute; import org.apache.sis.filter.Filter; import org.apache.sis.filter.Expression; import org.apache.sis.pending.geoapi.filter.Literal; @@ -434,7 +435,7 @@ public class FeatureQuery extends Query implements Cloneable, Serializable { /** * Whether a property evaluated by a query is computed on the fly or stored. * By default, an expression is evaluated only once for each feature instance, - * then the result is stored as a feature {@link DefaultAttribute} value. + * then the result is stored as a feature {@link AbstractAttribute} value. * But the same expression can also be wrapped in a feature {@link AbstractOperation} * and evaluated every times that the value is requested. * @@ -452,7 +453,7 @@ public class FeatureQuery extends Query implements Cloneable, Serializable { /** * The expression is evaluated exactly once when a feature instance is created, * and the result is stored as a feature attribute. - * The feature property type will be {@link DefaultAttribute} and its value will be modifiable. + * The feature property type will be {@link AbstractAttribute} and its value will be modifiable. * This is the default projection type. * * <h4>Feature instances in expression evaluation</h4> @@ -546,7 +547,7 @@ public class FeatureQuery extends Query implements Cloneable, Serializable { /** * Whether the expression result should be stored or evaluated every times that it is requested. - * A stored value will exist as a feature {@link DefaultAttribute}, while a virtual value will exist as + * A stored value will exist as a feature {@link AbstractAttribute}, while a virtual value will exist as * a feature {@link AbstractOperation}. The latter are commonly called "computed fields" and are equivalent * to SQL {@code GENERATED ALWAYS} keyword for columns. * @@ -592,7 +593,7 @@ public class FeatureQuery extends Query implements Cloneable, Serializable { * * @param expression the literal, value reference or expression to be retrieved by a {@code Query}. * @param alias the name to assign to the expression result, or {@code null} if unspecified. - * @param type whether to create a feature {@link DefaultAttribute} or a feature {@link AbstractOperation}. + * @param type whether to create a feature {@link AbstractAttribute} or a feature {@link AbstractOperation}. * * @since 1.4 */