Add toString

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@821 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Charlie Groves
2009-05-22 23:17:50 +00:00
parent 9c4173fd8b
commit a20117d922
@@ -32,6 +32,8 @@ import java.net.URLConnection;
import java.security.AccessControlException; import java.security.AccessControlException;
import java.util.Set; import java.util.Set;
import com.samskivert.util.Logger;
/** /**
* Resource bundle that retrieves its contents via HTTP over the network from a root URL. * Resource bundle that retrieves its contents via HTTP over the network from a root URL.
*/ */
@@ -109,7 +111,8 @@ public class NetworkResourceBundle extends KnownAvailabilityResourceBundle
@Override @Override
public String toString () public String toString ()
{ {
return "[url=" + _bundleURL + "]"; return Logger.format(getClass().getSimpleName(), "url", _bundleURL, "ident", _ident,
"knownResources", (_rsrcs != null));
} }
/** Our identifier for this bundle. */ /** Our identifier for this bundle. */