ICU-6794 used 2-parameter File constructor

X-SVN-Rev: 25794
This commit is contained in:
Mark Davis 2009-04-16 18:50:27 +00:00
parent 94d545bce6
commit ebc84f4f73

View File

@ -856,7 +856,7 @@ public class BagFormatter {
}
public static PrintWriter openWriter(String dir, String filename, String encoding) throws IOException {
File file = new File(dir + filename);
File file = new File(dir, filename);
if (SHOW_FILES && log != null) {
log.println("Creating File: "
+ file.getCanonicalPath());