Fix the formatting of that comment...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6521 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -528,10 +528,9 @@ public class Streamer
|
|||||||
List<Field> fields = Lists.newArrayList();
|
List<Field> fields = Lists.newArrayList();
|
||||||
ClassUtil.getFields(_target, fields);
|
ClassUtil.getFields(_target, fields);
|
||||||
|
|
||||||
/** Checks whether or not we should stream the fields in alphabetical order. This ensures
|
// Checks whether or not we should stream the fields in alphabetical order. This ensures
|
||||||
* cross-JVM compatibility since Class.getDeclaredFields() does not define an order. Due
|
// cross-JVM compatibility since Class.getDeclaredFields() does not define an order. Due
|
||||||
* to legacy issues, this is false by default.
|
// to legacy issues, this is false by default.
|
||||||
*/
|
|
||||||
if (Boolean.getBoolean("com.threerings.io.streamFieldsAlphabetically")) {
|
if (Boolean.getBoolean("com.threerings.io.streamFieldsAlphabetically")) {
|
||||||
Collections.sort(fields, FIELD_ALPHA_COMPARATOR);
|
Collections.sort(fields, FIELD_ALPHA_COMPARATOR);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user