Skip to content

Commit

Permalink
fixed NNNN schema when N placeholders were contained at the end of th…
Browse files Browse the repository at this point in the history
…e schema. fix #2777
  • Loading branch information
j-dimension committed Jan 13, 2025
1 parent 9de880b commit 3e3805e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ private static synchronized String next(ArrayList<String> allExisting, String pa
if (DBG) {
System.out.println("70");
}
if (existing.length() > mN.start() + s.length()) {
if (existing.length() >= mN.start() + s.length()) {
allExistingGlobals.add(existing.substring(mN.start(), mN.start() + dfs.length()));
}
}
Expand Down

0 comments on commit 3e3805e

Please sign in to comment.