
Originally Posted by
Fire Cape
good use of final class
weird use of constants, e.g why have a constant for the dialogue interface id and then numbers without a name like 55 in
Code:
String wrap = WordUtils.wrap(text[0], 55);
does sendEntityDialogue need public access?
idk why people document enum values when they tend to be self-explanatory and don't show in generated javadoc
good use of empty private constructor also
much cleaner than most garbage on here though so gj
I didnt write that, it was either the original elvarg or matrix. And yeah the enum documentation is a bit pointless but sometimes useful when not self explanatory or poorly named
edit: the wordwrap bit you posted is from original 317
matrix uses
Code:
StringBuilder builder = new StringBuilder();
builder.append(texts == null ? "" : texts[0] == null ? "" : texts[0]);
for (int line = 1; line < texts.length; line++) {
builder.append("<br>" + texts[line]);
}