Use File.separatorChar where it makes sense.

This commit is contained in:
Ray J. Greenwell
2012-03-30 11:12:50 -07:00
parent c7e80de26d
commit a1d60a685b
@@ -407,8 +407,8 @@ public class ResourceManager
if (_rdir == null) { if (_rdir == null) {
return null; return null;
} }
if (!"/".equals(File.separator)) { if ('/' != File.separatorChar) {
path = path.replace("/", File.separator); path = path.replace('/', File.separatorChar);
} }
// first try a locale-specific file // first try a locale-specific file
String localePath = getLocalePath(path); String localePath = getLocalePath(path);