2014-02-03 Greg Huber <[email protected]>:
> I have always used the default, 80, so for me it is readable (16 font needs
> getting used to). As its also the closest to intellij, but it seems to
> space the indents differently. Mabe the diff could ignore white space
> changes?
Some examples:
+ String itemKeyStr = StringUtils
+ .defaultString(itemKey
== null ? null : itemKey
+ .toString());
This is bad as one value was splitted over two lines and it wasn't
because of readability but the default. It'd be better:
String itemKeyStr = StringUtils.defaultString(itemKey == null ?
null :
itemKey.toString());
Something like that (written by hand)
+ a.add("type", "hidden")
+ .add("id",
+ "__multiselect_"
+
+ StringUtils
+
.defaultString(StringEscapeUtils
+
.escapeHtml4(id)))
And this is something odd for me, though I don't have a good option
how it should be formatted.
Thus are just my thoughts, not a religion ;-)
Regards
--
Ćukasz
+ 48 606 323 122 http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]