mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 01:40:47 +00:00
array definitions was inconsistent, now everywhere "Type[] variableName", using StringBuilder => little bit faster, test fixed (missing parameters)
This commit is contained in:
@@ -228,7 +228,7 @@ public class Highlighting implements Serializable {
|
||||
|
||||
private static List<Highlighting> getSpecificHighlights(String texts, String txtOpen, String txtClose, String txtEnd) {
|
||||
List<Highlighting> ret = new ArrayList<>();
|
||||
StringBuffer text = new StringBuffer(texts);
|
||||
StringBuilder text = new StringBuilder(texts);
|
||||
int pos = 0;
|
||||
while (true) {
|
||||
int openpos = text.indexOf(txtOpen);
|
||||
|
||||
Reference in New Issue
Block a user