Skip to content

Commit

Permalink
fix access qualifier aim42#196
Browse files Browse the repository at this point in the history
  • Loading branch information
uniqueck committed Nov 13, 2020
1 parent db45de3 commit 4ae3f34
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/groovy/org/aim42/htmlsanitycheck/Configuration.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class Configuration {


// constructor to set (some) default values
private Configuration() {
Configuration() {

this.configurationItems.put(ITEM_NAME_httpErrorCodes, NetUtil.HTTP_ERROR_CODES)
this.configurationItems.put(ITEM_NAME_httpSuccessCodes, NetUtil.HTTP_SUCCESS_CODES)
Expand All @@ -103,7 +103,7 @@ class Configuration {
* @param itemName
* @return
*/
public synchronized Object getConfigItemByName(final String itemName) {
synchronized Object getConfigItemByName(final String itemName) {
return configurationItems.get(itemName)
}

Expand All @@ -121,7 +121,7 @@ class Configuration {
/**
* @return true if item is already present, false otherwise
*/
public boolean checkIfItemPresent(String itemName) {
boolean checkIfItemPresent(String itemName) {
boolean result = false
if (configurationItems.get(itemName) != null) {
result = true
Expand Down Expand Up @@ -221,7 +221,7 @@ class Configuration {
* srcDocs needs to be of type {@link org.gradle.api.file.FileCollection}
* to be Gradle-compliant
*/
public Boolean isValid() {
Boolean isValid() {

// we need at least srcDir and srcDocs!!
File srcDir = getConfigItemByName(Configuration.ITEM_NAME_sourceDir)
Expand Down Expand Up @@ -258,7 +258,7 @@ class Configuration {


@Override
public String toString() {
String toString() {
return "Configuration{" +
"configurationItems=" + configurationItems +
'}';
Expand Down

0 comments on commit 4ae3f34

Please sign in to comment.