Skip to content

Commit

Permalink
[WIP]
Browse files Browse the repository at this point in the history
  • Loading branch information
vkhrystiuk-ks committed Dec 18, 2024
1 parent 3aa8a7c commit f14679b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/main/java/liqp/filters/date/fuzzy/Part.java
Original file line number Diff line number Diff line change
Expand Up @@ -130,21 +130,16 @@ public String source() {
throw new IllegalStateException("Parsed part has no source");
}

public String getPattern() {
return pattern;
}
public List<String> getPatterns() {
ArrayList<String> res = new ArrayList<>();
res.add(pattern);
return res;
return patterns;
}

@Override
public String toString() {
return "RecognizedPart{" +
"start=" + start +
", end=" + end +
", pattern='" + pattern + '\'' +
", pattern='" + patterns + '\'' +
'}';
}
}
Expand Down

0 comments on commit f14679b

Please sign in to comment.