changeset 10591:76fb7b461451

8178838: Remove GPL header from src/tools/java/headergen/HeaderGen.java in media module Reviewed-by: kcr
author almatvee
date Tue, 25 Jul 2017 17:40:44 -0700
parents 4b915ce69d8e
children 0c458c14b6b9
files modules/javafx.media/src/tools/java/headergen/HeaderGen.java
diffstat 1 files changed, 2 insertions(+), 30 deletions(-) [+]
line wrap: on
line diff
--- a/modules/javafx.media/src/tools/java/headergen/HeaderGen.java	Tue Jul 25 13:39:01 2017 -0700
+++ b/modules/javafx.media/src/tools/java/headergen/HeaderGen.java	Tue Jul 25 17:40:44 2017 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -34,35 +34,7 @@
 
     private static void generateFile(File file) throws IOException {
         PrintStream os = new PrintStream(file);
-        os.println("/*");
-        os.println("* Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.");
-        os.println("* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.");
-        os.println("*");
-        os.println("* This code is free software; you can redistribute it and/or modify it");
-        os.println(" * under the terms of the GNU General Public License version 2 only, as");
-        os.println("* published by the Free Software Foundation.  Oracle designates this");
-        os.println("* particular file as subject to the \"Classpath\" exception as provided");
-        os.println("* by Oracle in the LICENSE file that accompanied this code.");
-        os.println("*");
-        os.println("* This code is distributed in the hope that it will be useful, but WITHOUT");
-        os.println("* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or");
-        os.println("* FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License");
-        os.println("* version 2 for more details (a copy is included in the LICENSE file that");
-        os.println("* accompanied this code).");
-        os.println("*");
-        os.println("* You should have received a copy of the GNU General Public License version");
-        os.println("* 2 along with this work; if not, write to the Free Software Foundation,");
-        os.println("* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.");
-        os.println("*");
-        os.println("* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA");
-        os.println("* or visit www.oracle.com if you need additional information or have any");
-        os.println("* questions.");
-        os.println("*");
-        os.println("* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
-        os.println("* This header is automatically generated from MediaError java class.");
-        os.println("* Don't edit this file. Rather add or remove values from the class and");
-        os.println("* make the build system to rebuild the file.");
-        os.println(" */");
+        os.println("/* DO NOT EDIT THIS FILE - it is machine generated */");
         os.println();
         os.println("#ifndef _JFXMEDIA_ERRORS_H_");
         os.println("#define _JFXMEDIA_ERRORS_H_");