Skip to content

Commit

Permalink
Merge pull request #320 from IGNF/renovate/maven-formatter-plugin.ver…
Browse files Browse the repository at this point in the history
…sion

chore(deps): update dependency net.revelc.code.formatter:formatter-maven-plugin to v2.24.1
  • Loading branch information
mborne authored Aug 8, 2024
2 parents ec200cd + aebeea8 commit 1b32e30
Show file tree
Hide file tree
Showing 312 changed files with 1,101 additions and 1,101 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<jackson.version>2.17.2</jackson.version>
<jackson.databind.version>2.17.2</jackson.databind.version>

<maven-formatter-plugin.version>2.11.0</maven-formatter-plugin.version>
<maven-formatter-plugin.version>2.24.1</maven-formatter-plugin.version>
<jaxen.version>1.2.0</jaxen.version>
<jdom.version>1.0</jdom.version>
<apache-common-io.version>2.16.1</apache-common-io.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

/**
* Command line application
*
*
* @author MBorne
*/
public class Application {
Expand Down
84 changes: 42 additions & 42 deletions validator-core/src/main/java/fr/ign/validator/Context.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
import fr.ign.validator.validation.Validatable;

/**
*
*
* Validation context
*
*
* @author MBorne
*
*/
Expand All @@ -56,7 +56,7 @@ public class Context {

/**
* Data charset (overridden by metadata provided charset)
*
*
* @see MetadataPreProcess
*/
private Charset encoding = StandardCharsets.UTF_8;
Expand Down Expand Up @@ -166,7 +166,7 @@ public Context() {

/**
* Get validatorListeners
*
*
* @return
*/
public List<ValidatorListener> getValidatorListeners() {
Expand All @@ -175,7 +175,7 @@ public List<ValidatorListener> getValidatorListeners() {

/**
* add listener
*
*
* @param listener
*/
public void addListener(ValidatorListener listener) {
Expand All @@ -184,7 +184,7 @@ public void addListener(ValidatorListener listener) {

/**
* Add listener before the first listener of a given class
*
*
* @param listener
* @param clazz
*/
Expand All @@ -198,7 +198,7 @@ public void addListenerBefore(ValidatorListener listener, Class<?> clazz) {

/**
* Find listener for a given class
*
*
* @param clazz
* @return
*/
Expand Down Expand Up @@ -266,7 +266,7 @@ public void setProjection(Projection projection) {

/**
* Set projection from CRS code
*
*
* @param code
*/
public void setProjection(String code) {
Expand Down Expand Up @@ -317,7 +317,7 @@ public void setCurrentDirectory(File currentDirectory) {

/**
* Get ErrorFactory
*
*
* @return
*/
public ErrorFactory getErrorFactory() {
Expand All @@ -326,7 +326,7 @@ public ErrorFactory getErrorFactory() {

/**
* Set ErrorFactory
*
*
* @param errorFactory
*/
public void setErrorFactory(ErrorFactory errorFactory) {
Expand All @@ -335,7 +335,7 @@ public void setErrorFactory(ErrorFactory errorFactory) {

/**
* Push given model to stack
*
*
* @param model
*/
public void beginModel(Model model) {
Expand All @@ -345,7 +345,7 @@ public void beginModel(Model model) {

/**
* Get model stack
*
*
* @return
*/
public List<Model> getModelStack() {
Expand All @@ -354,7 +354,7 @@ public List<Model> getModelStack() {

/**
* Get current model by type
*
*
* @param clazz
* @return
*/
Expand All @@ -370,7 +370,7 @@ public <T extends Model> T getModelByType(Class<T> clazz) {

/**
* Get current document model
*
*
* @return
*/
public DocumentModel getDocumentModel() {
Expand All @@ -379,7 +379,7 @@ public DocumentModel getDocumentModel() {

/**
* Get current document model name
*
*
* @param context
* @return
*/
Expand All @@ -393,7 +393,7 @@ public String getDocumentModelName() {

/**
* Get current file model name
*
*
* @param context
* @return
*/
Expand All @@ -407,7 +407,7 @@ public String getFileModelName() {

/**
* Get current attribute name
*
*
* @param context
* @return
*/
Expand All @@ -433,7 +433,7 @@ public void endModel(Model model) {

/**
* Begin data validation (push data on dataStack)
*
*
* @param location
*/
public void beginData(Validatable data) {
Expand All @@ -442,7 +442,7 @@ public void beginData(Validatable data) {

/**
* Get data by type from data stack
*
*
* @param clazz
* @return
*/
Expand All @@ -458,7 +458,7 @@ public <T extends Validatable> T getDataByType(Class<T> clazz) {

/**
* Get current scope from data stack
*
*
* @return
*/
public ErrorScope getScope() {
Expand All @@ -475,7 +475,7 @@ public ErrorScope getScope() {

/**
* Get current fileName from data stack
*
*
* @param context
* @return
*/
Expand All @@ -499,7 +499,7 @@ public String getFileName() {

/**
* Get current line number from data stack
*
*
* @param context
* @return
*/
Expand All @@ -513,7 +513,7 @@ public String getLine() {

/**
* Get current feature bounding box from data stack
*
*
* @return string
*/
public Envelope getFeatureBBox() {
Expand All @@ -526,7 +526,7 @@ public Envelope getFeatureBBox() {

/**
* Get current identifiant
*
*
* @return
*/
public String getFeatureId() {
Expand All @@ -539,7 +539,7 @@ public String getFeatureId() {

/**
* End data validation (pop data from dataStack)
*
*
* @param location
*/
public void endData(Validatable data) {
Expand All @@ -552,7 +552,7 @@ public void endData(Validatable data) {

/**
* Get relative path according to current directory.
*
*
* @param path
* @return
*/
Expand All @@ -569,7 +569,7 @@ public String relativize(File path) {

/**
* Create and report an error according to its code
*
*
* @param code
* @param messageParams
*/
Expand All @@ -580,7 +580,7 @@ public void report(ErrorCode code) {

/**
* Direct reporting of an existing error
*
*
* @param validatorError
*/
public void report(ValidatorError validatorError) {
Expand All @@ -589,7 +589,7 @@ public void report(ValidatorError validatorError) {

/**
* Generic method for building errors
*
*
* @param code
* @param messageParams
*/
Expand Down Expand Up @@ -619,7 +619,7 @@ public ValidatorError createError(ErrorCode code) {

/**
* Get ValidationDirectory
*
*
* @return
*/
public File getValidationDirectory() {
Expand All @@ -628,7 +628,7 @@ public File getValidationDirectory() {

/**
* Set ValidationDirectory
*
*
* @return
*/
public void setValidationDirectory(File validationDirectory) {
Expand All @@ -642,7 +642,7 @@ public boolean isNormalizeEnabled() {

/**
* Enable or disable data normalization.
*
*
* @param normalizeEnabled
*/
public void setNormalizeEnabled(boolean normalizeEnabled) {
Expand All @@ -652,7 +652,7 @@ public void setNormalizeEnabled(boolean normalizeEnabled) {

/**
* Get output projection for normalized data.
*
*
* @return
*/
public Projection getOutputProjection() {
Expand All @@ -661,7 +661,7 @@ public Projection getOutputProjection() {

/**
* Set output projection for normalized data.
*
*
* @param outputProjection
*/
public void setOutputProjection(Projection outputProjection) {
Expand All @@ -671,7 +671,7 @@ public void setOutputProjection(Projection outputProjection) {

/**
* Get DATA directory for normalized data ({validation_dir}/DATA)
*
*
* @return
*/
public File getDataDirectory() {
Expand All @@ -684,7 +684,7 @@ public File getDataDirectory() {

/**
* Get metadata directory ({validation_dir}/METADATA)
*
*
* @return
*/
public File getMetadataDirectory() {
Expand Down Expand Up @@ -740,7 +740,7 @@ public void setStringFixer(StringFixer stringFixer) {

/**
* tolerance option used in geometric operation (dgpr plugin)
*
*
* @return
*/
public Double getDgprTolerance() {
Expand All @@ -749,7 +749,7 @@ public Double getDgprTolerance() {

/**
* tolerance option used in geometric operation (dgpr plugin)
*
*
* @param topologicalTolerance
*/
public void setDgprTolerance(double topologicalTolerance) {
Expand All @@ -758,7 +758,7 @@ public void setDgprTolerance(double topologicalTolerance) {

/**
* simplification distance option
*
*
* @return distance
*/
public Double getDgprSimplification() {
Expand All @@ -767,7 +767,7 @@ public Double getDgprSimplification() {

/**
* simplification distance option
*
*
* @param distanceSimplification
*/
public void setDgprSimplification(Double distanceSimplification) {
Expand All @@ -776,7 +776,7 @@ public void setDgprSimplification(Double distanceSimplification) {

/**
* safe simplification option
*
*
* @return safe simplication allowed
*/
public Boolean isDgprSafeMode() {
Expand All @@ -785,7 +785,7 @@ public Boolean isDgprSafeMode() {

/**
* safe simplification option
*
*
* @param safeSimplification
*/
public void setDgprSafeMode(boolean safeSimplification) {
Expand Down
Loading

0 comments on commit 1b32e30

Please sign in to comment.