Root needs to end with a slash
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@475 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -36,6 +36,9 @@ public class NetworkResourceBundle extends ResourceBundle
|
||||
{
|
||||
public NetworkResourceBundle (String root, String path)
|
||||
{
|
||||
if (!root.endsWith("/")) {
|
||||
root += "/";
|
||||
}
|
||||
try {
|
||||
_bundleURL = new URL(root + path);
|
||||
} catch (MalformedURLException mue) {
|
||||
|
||||
Reference in New Issue
Block a user