diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-08 05:20:31 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-08 05:20:31 +0000 |
commit | 71b7cad5da6f8496854068c278945ad993aba39c (patch) | |
tree | e485dc9774147a3e61c0a6c26271291c48549693 /libjava/scripts | |
parent | c14d0b5012b2ce216735dae263f02f6d93543f7c (diff) | |
download | gcc-71b7cad5da6f8496854068c278945ad993aba39c.tar.gz |
* scripts/MakeDefaultMimeTypes.java: Use \n, not
backslash-newline.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75532 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/scripts')
-rw-r--r-- | libjava/scripts/MakeDefaultMimeTypes.java | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/libjava/scripts/MakeDefaultMimeTypes.java b/libjava/scripts/MakeDefaultMimeTypes.java index 49b67d675bd..2b7aa0dbd9d 100644 --- a/libjava/scripts/MakeDefaultMimeTypes.java +++ b/libjava/scripts/MakeDefaultMimeTypes.java @@ -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); } } |