MakeDefaultMimeTypes.java: Use \n, not backslash-newline.

* scripts/MakeDefaultMimeTypes.java: Use \n, not
	backslash-newline.

From-SVN: r75532
This commit is contained in:
Tom Tromey 2004-01-08 05:20:31 +00:00 committed by Tom Tromey
parent fbea267fef
commit ce972ee8f6
2 changed files with 8 additions and 19 deletions

View File

@ -1,3 +1,8 @@
2004-01-07 Tom Tromey <tromey@redhat.com>
* scripts/MakeDefaultMimeTypes.java: Use \n, not
backslash-newline.
2004-01-07 Graydon Hoare <graydon@redhat.com>
* java/awt/Container.java (LightweightDispatcher): Implement.

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2000 Free Software Foundation
/* Copyright (C) 2000, 2003 Free Software Foundation
This file is part of libgcj.
@ -36,21 +36,7 @@ public class MakeDefaultMimeTypes
fatal ("error reading " + args[0]);
}
System.out.println ("// Do not edit this file! Create a new version with MakeDefaultMimeTypes.\
\
/* Copyright (C) 2000 Free Software Foundation\
\
This file is part of libgcj.\
\
This software is copyrighted work licensed under the terms of the\
Libgcj License. Please consult the file \"LIBGCJ_LICENSE\" for\
details. */\
\
package gnu.gcj.io; \
\
public class DefaultMimeTypes\
{\
public static final String[] types = {");
System.out.println ("// Do not edit this file! Create a new version with MakeDefaultMimeTypes.\n\n/* Copyright (C) 2000 Free Software Foundation\n\n This file is part of libgcj.\n\nThis software is copyrighted work licensed under the terms of the\nLibgcj License. Please consult the file \"LIBGCJ_LICENSE\" for\ndetails. */\n\npackage gnu.gcj.io; \n\npublic class DefaultMimeTypes\n{\n public static final String[] types = {");
Enumeration keys = mime_table.keys();
Enumeration values = mime_table.elements();
@ -85,9 +71,7 @@ public class DefaultMimeTypes\
}
// Append last element with closing bracket
result.append(" };\
}\
");
result.append(" };\n}\n");
System.out.println(result);
}
}