From 43297904a83e4651277fcff3340b81748b603aa8 Mon Sep 17 00:00:00 2001 From: "Thomas E. Enebo" Date: Fri, 10 Nov 2023 12:12:50 -0500 Subject: [PATCH] Partial fix for #1783 for Java Loader `setStartLine(int line)` should not have an assert to only accept positive values. start line can be negative. --- templates/java/org/prism/Nodes.java.erb | 1 - 1 file changed, 1 deletion(-) diff --git a/templates/java/org/prism/Nodes.java.erb b/templates/java/org/prism/Nodes.java.erb index 377a9506858..2c1cfe2ad91 100644 --- a/templates/java/org/prism/Nodes.java.erb +++ b/templates/java/org/prism/Nodes.java.erb @@ -49,7 +49,6 @@ public abstract class Nodes { } public void setStartLine(int startLine) { - assert startLine >= 1; this.startLine = startLine; }