A healthy dash of google-collections
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5798 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -4,12 +4,13 @@
|
||||
package com.threerings.io;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.OutputStream;
|
||||
|
||||
import com.google.common.collect.Sets;
|
||||
|
||||
/**
|
||||
* Extends {@link ObjectOutputStream} for use in unreliable channels, where we must transmit class
|
||||
* mappings with every object until we are explicitly notified that the receiver has cached the
|
||||
@@ -193,8 +194,8 @@ public class UnreliableObjectOutputStream extends ObjectOutputStream
|
||||
}
|
||||
|
||||
/** The set of classes for which we have written mappings. */
|
||||
protected Set<Class<?>> _mappedClasses = new HashSet<Class<?>>();
|
||||
protected Set<Class<?>> _mappedClasses = Sets.newHashSet();
|
||||
|
||||
/** The set of pooled strings for which we have written mappings. */
|
||||
protected Set<String> _mappedInterns = new HashSet<String>();
|
||||
protected Set<String> _mappedInterns = Sets.newHashSet();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user