Skip to content

Commit

Permalink
Public getter for ConfigValue#problems (#1262)
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez authored Dec 3, 2024
1 parent 32191d6 commit 4e2351a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ public String getLocation() {
return lineNumber != -1 ? configSourceName + ":" + lineNumber : configSourceName;
}

boolean hasProblems() {
public boolean hasProblems() {
return problems != null && !problems.isEmpty();
}

List<Problem> getProblems() {
public List<Problem> getProblems() {
return hasProblems() ? unmodifiableList(problems) : emptyList();
}

Expand Down

0 comments on commit 4e2351a

Please sign in to comment.