Tidied up.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5273 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-07-30 09:32:48 +00:00
parent 81dc030710
commit ca4c5897fb
+3 -2
View File
@@ -32,10 +32,11 @@ import java.security.PrivilegedExceptionAction;
import java.security.PrivilegedActionException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import com.google.common.collect.Lists;
import com.samskivert.util.ClassUtil;
import com.samskivert.util.Predicate;
@@ -459,7 +460,7 @@ public class Streamer
}
// reflect on all the object's fields and remove all marked with NotStreamable
ArrayList<Field> fieldList = new ArrayList<Field>();
List<Field> fieldList = Lists.newArrayList();
ClassUtil.getFields(target, fieldList);
_isStreamableFieldPred.filter(fieldList);
_fields = fieldList.toArray(new Field[fieldList.size()]);