diff --git a/core/src/main/java/lucee/transformer/util/SourceCode.java b/core/src/main/java/lucee/transformer/util/SourceCode.java index dffd85ce4b..a8b3156820 100755 --- a/core/src/main/java/lucee/transformer/util/SourceCode.java +++ b/core/src/main/java/lucee/transformer/util/SourceCode.java @@ -54,7 +54,7 @@ public SourceCode(SourceCode parent, String strText, boolean writeLog) { this.hash = strText.hashCode(); lcText = new char[text.length]; - ArrayList arr = new ArrayList(); + ArrayList arr = new ArrayList((int)strText.lines().count()); for (int i = 0; i < text.length; i++) { pos = i;