Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Improved: fixes a Java doc issue reported by checkstyle
Also removes unused ModelEntity::toXmlElement and ModelEntity::toGroupXmlElement

tasks.checkstyleMain.maxErrors from 278 to 277
  • Loading branch information
JacquesLeRoux committed Feb 5, 2021
1 parent af9ed4e commit a234f8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -310,7 +310,7 @@ checkstyle {
// the sum of errors found last time it was changed after using the
// ‘checkstyle’ tool present in the framework and in the official
// plugins.
tasks.checkstyleMain.maxErrors = 278
tasks.checkstyleMain.maxErrors = 277
// Currently there are a lot of errors so we need to temporarily
// hide them to avoid polluting the terminal output.
showViolations = false
Expand Down
Expand Up @@ -2165,18 +2165,11 @@ public Element toXmlElement(Document document, String packageName) {
}

/**
* To xml element element.
* To Group elements of a document in a package
* @param document the document
* @param packageName the name of the package where to group the elements of the document
* @return the element
*/
public Element toXmlElement(Document document) {
return this.toXmlElement(document, this.getPackageName());
}

public Element toGroupXmlElement(Document document) {
return this.toGroupXmlElement(document, this.getPackageName());
}

public Element toGroupXmlElement(Document document, String packageName) {
if (UtilValidate.isNotEmpty(this.getPackageName()) && !packageName.equals(this.getPackageName())) {
Debug.logWarning(
Expand Down

0 comments on commit a234f8e

Please sign in to comment.