Skip to content

Commit

Permalink
Fix issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghislain Fourny committed Mar 5, 2024
1 parent 4357cb3 commit eb26f36
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/org/rumbledb/types/Facets.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static Facets createTimezoneFacets(TimezoneFacet explicitTimezone) {
private Item minInclusive, maxInclusive;
private Item minExclusive, maxExclusive;
private Integer minLength, length, maxLength, totalDigits, fractionDigits;
private List<String> constraints = Collections.emptyList();
private List<String> constraints = new ArrayList<>();
private List<Item> enumeration;
private TimezoneFacet explicitTimezone;

Expand Down Expand Up @@ -189,7 +189,6 @@ public static Facets createAtomicTypeFacets(
facets.maxExclusive = maxExclusive;
facets.totalDigits = totalDigits;
facets.fractionDigits = fractionDigits;
facets.constraints = new ArrayList<>();
return facets;
}
}

0 comments on commit eb26f36

Please sign in to comment.