# HG changeset patch # User kcr # Date 1492796891 25200 # Fri Apr 21 10:48:11 2017 -0700 # Node ID 7a3875952072bb625e8765fd709651aee42a7645 # Parent df50d26b702f89432bcc5f629be2458290a9094d 8178989: Missing copyright headers for some files Reviewed-by: diff --git a/modules/javafx.controls/src/main/java/com/sun/javafx/scene/control/MenuBarButton.java b/modules/javafx.controls/src/main/java/com/sun/javafx/scene/control/MenuBarButton.java --- a/modules/javafx.controls/src/main/java/com/sun/javafx/scene/control/MenuBarButton.java +++ b/modules/javafx.controls/src/main/java/com/sun/javafx/scene/control/MenuBarButton.java @@ -1,3 +1,28 @@ +/* + * Copyright (c) 2015, 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 + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + package com.sun.javafx.scene.control; import javafx.beans.value.ChangeListener; @@ -70,4 +95,4 @@ default: return super.queryAccessibleAttribute(attribute, parameters); } } -} \ No newline at end of file +} diff --git a/modules/javafx.controls/src/test/java/test/com/sun/javafx/scene/control/inputmap/KeyBindingTest.java b/modules/javafx.controls/src/test/java/test/com/sun/javafx/scene/control/inputmap/KeyBindingTest.java --- a/modules/javafx.controls/src/test/java/test/com/sun/javafx/scene/control/inputmap/KeyBindingTest.java +++ b/modules/javafx.controls/src/test/java/test/com/sun/javafx/scene/control/inputmap/KeyBindingTest.java @@ -1,3 +1,28 @@ +/* + * Copyright (c) 2015, 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 + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + package test.com.sun.javafx.scene.control.inputmap; import com.sun.javafx.scene.control.inputmap.KeyBinding; @@ -37,4 +62,4 @@ assertEquals(expect, uut.getSpecificity(event)); // Gets 2 (fx 2.2, fx 8) } -} \ No newline at end of file +} diff --git a/modules/javafx.fxml/src/test/java/test/com/sun/javafx/fxml/builder/ClassWithReadOnlyCollection.java b/modules/javafx.fxml/src/test/java/test/com/sun/javafx/fxml/builder/ClassWithReadOnlyCollection.java --- a/modules/javafx.fxml/src/test/java/test/com/sun/javafx/fxml/builder/ClassWithReadOnlyCollection.java +++ b/modules/javafx.fxml/src/test/java/test/com/sun/javafx/fxml/builder/ClassWithReadOnlyCollection.java @@ -1,3 +1,28 @@ +/* + * Copyright (c) 2014, 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 + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + package test.com.sun.javafx.fxml.builder; import com.sun.javafx.collections.TrackableObservableList; @@ -9,9 +34,6 @@ import java.util.Arrays; import java.util.List; -/** - * Created by msladecek on 22.7.14. - */ public class ClassWithReadOnlyCollection { public double a; ObservableList propertyList = new TrackableObservableList() { diff --git a/modules/javafx.graphics/src/test/java/test/javafx/css/StyleablePropertyFactoryTest.java b/modules/javafx.graphics/src/test/java/test/javafx/css/StyleablePropertyFactoryTest.java --- a/modules/javafx.graphics/src/test/java/test/javafx/css/StyleablePropertyFactoryTest.java +++ b/modules/javafx.graphics/src/test/java/test/javafx/css/StyleablePropertyFactoryTest.java @@ -1,3 +1,28 @@ +/* + * Copyright (c) 2014, 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 + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + package test.javafx.css; import com.sun.javafx.property.PropertyReference; diff --git a/modules/javafx.web/src/main/java/com/sun/javafx/webkit/WebConsoleListener.java b/modules/javafx.web/src/main/java/com/sun/javafx/webkit/WebConsoleListener.java --- a/modules/javafx.web/src/main/java/com/sun/javafx/webkit/WebConsoleListener.java +++ b/modules/javafx.web/src/main/java/com/sun/javafx/webkit/WebConsoleListener.java @@ -1,3 +1,28 @@ +/* + * Copyright (c) 2015, 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 + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + package com.sun.javafx.webkit; import javafx.scene.web.WebView; diff --git a/tests/system/src/test/java/test/com/sun/javafx/css/StylesheetWithSecurityManagerTest.java b/tests/system/src/test/java/test/com/sun/javafx/css/StylesheetWithSecurityManagerTest.java --- a/tests/system/src/test/java/test/com/sun/javafx/css/StylesheetWithSecurityManagerTest.java +++ b/tests/system/src/test/java/test/com/sun/javafx/css/StylesheetWithSecurityManagerTest.java @@ -1,6 +1,30 @@ +/* + * Copyright (c) 2014, 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 + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + package test.com.sun.javafx.css; - import javafx.css.Declaration; import javafx.css.Rule; import javafx.css.Selector; @@ -22,9 +46,6 @@ import static org.junit.Assert.*; import static org.junit.Assume.*; -/** - * Created by dgrieve on 9/17/14. - */ public class StylesheetWithSecurityManagerTest { static final Styleable styleable = new Styleable() { diff --git a/tests/system/src/test/java/test/com/sun/marlin/QPathTest.java b/tests/system/src/test/java/test/com/sun/marlin/QPathTest.java --- a/tests/system/src/test/java/test/com/sun/marlin/QPathTest.java +++ b/tests/system/src/test/java/test/com/sun/marlin/QPathTest.java @@ -1,3 +1,28 @@ +/* + * Copyright (c) 2016, 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 + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + package test.com.sun.marlin; import java.util.Locale;