Skip to content

Commit

Permalink
Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Dec 30, 2024
1 parent 2d983f2 commit 300a37a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/main/java/org/apache/commons/validator/Validator.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ public class Validator implements Serializable {
/**
* The Validator Resources.
*
* @deprecated Use {@link #getResources()}.
* @deprecated Use {@link #getResources()}, will be private in the next major version.
*/
@Deprecated
protected ValidatorResources resources;

/**
* The name of the form to validate
*
* @deprecated Use {@link #getFormName()}.
* @deprecated Use {@link #getFormName()}, will be private in the next major version.
*/
@Deprecated
protected String formName;
Expand All @@ -108,7 +108,7 @@ public class Validator implements Serializable {
*
* @since 1.2.0
*
* @deprecated Use {@link #getFieldName()}.
* @deprecated Use {@link #getFieldName()}, will be private in the next major version.
*/
@Deprecated
protected String fieldName;
Expand All @@ -117,15 +117,15 @@ public class Validator implements Serializable {
* Maps validation method parameter class names to the objects to be passed
* into the method.
*
* @deprecated Use {@link #getParameters()}.
* @deprecated Use {@link #getParameters()}, will be private in the next major version.
*/
@Deprecated
protected Map<String, Object> parameters = new HashMap<>();

/**
* The current page number to validate.
*
* @deprecated Use {@link #getPage()}.
* @deprecated Use {@link #getPage()}, will be private in the next major version.
*/
@Deprecated
protected int page;
Expand All @@ -136,7 +136,7 @@ public class Validator implements Serializable {
* used to load Digester itself, is used, based on the value of the
* {@code useContextClassLoader} variable.
*
* @deprecated Use {@link #getClassLoader()}.
* @deprecated Use {@link #getClassLoader()}, will be private in the next major version.
*/
@Deprecated
protected transient ClassLoader classLoader;
Expand All @@ -145,15 +145,15 @@ public class Validator implements Serializable {
* Whether or not to use the Context ClassLoader when loading classes
* for instantiating new objects. Default is {@code false}.
*
* @deprecated Use {@link #getUseContextClassLoader()}.
* @deprecated Use {@link #getUseContextClassLoader()}, will be private in the next major version.
*/
@Deprecated
protected boolean useContextClassLoader;

/**
* Sets this to true to not return Fields that pass validation. Only return failures.
*
* @deprecated Use {@link #getOnlyReturnErrors()}.
* @deprecated Use {@link #getOnlyReturnErrors()}, will be private in the next major version.
*/
@Deprecated
protected boolean onlyReturnErrors;
Expand Down

0 comments on commit 300a37a

Please sign in to comment.