array definitions was inconsistent, now everywhere "Type[] variableName", using StringBuilder => little bit faster, test fixed (missing parameters)

This commit is contained in:
Honfika
2013-09-09 11:46:04 +02:00
parent 591e47b964
commit d571b899c6
155 changed files with 424 additions and 406 deletions
@@ -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);