Repository: incubator-netbeans Updated Branches: refs/heads/master 3bb20e59c -> 74cd28b8c
[NETBEANS-54] Module Review openide.text Project: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/commit/74cd28b8 Tree: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/tree/74cd28b8 Diff: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/diff/74cd28b8 Branch: refs/heads/master Commit: 74cd28b8cfdb9d761bbd183ab3309b819ddb3a9b Parents: 3bb20e5 Author: Emilian Bold <[email protected]> Authored: Wed Sep 27 11:44:36 2017 +0300 Committer: Emilian Bold <[email protected]> Committed: Tue Oct 3 17:54:44 2017 +0300 ---------------------------------------------------------------------- .../text/CloneableEditorSupportRedirector.java | 43 +++++++------------- ...CloneableEditorSupportCOSRedirectorTest.java | 43 +++++++------------- .../CloneableEditorSupportRedirectorTest.java | 43 +++++++------------- 3 files changed, 45 insertions(+), 84 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/74cd28b8/openide.text/src/org/openide/text/CloneableEditorSupportRedirector.java ---------------------------------------------------------------------- diff --git a/openide.text/src/org/openide/text/CloneableEditorSupportRedirector.java b/openide.text/src/org/openide/text/CloneableEditorSupportRedirector.java index 4d030b1..988fdd7 100644 --- a/openide.text/src/org/openide/text/CloneableEditorSupportRedirector.java +++ b/openide.text/src/org/openide/text/CloneableEditorSupportRedirector.java @@ -1,33 +1,20 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved. - * - * Oracle and Java are registered trademarks of Oracle and/or its affiliates. - * Other names may be trademarks of their respective owners. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common - * Development and Distribution License("CDDL") (collectively, the - * "License"). You may not use this file except in compliance with the - * License. You can obtain a copy of the License at - * http://www.netbeans.org/cddl-gplv2.html - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the - * specific language governing permissions and limitations under the - * License. When distributing the software, include this License Header - * Notice in each file and include the License file at - * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the GPL Version 2 section of the License file that - * accompanied this code. If applicable, add the following below the - * License Header, with the fields enclosed by brackets [] replaced by - * your own identifying information: - * "Portions Copyrighted [year] [name of copyright owner]" +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Contributor(s): + * http://www.apache.org/licenses/LICENSE-2.0 * - * The Original Software is NetBeans. - * Portions Copyrighted 2007 Sun Microsystems, Inc. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package org.openide.text; http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/74cd28b8/openide.text/test/unit/src/org/openide/text/CloneableEditorSupportCOSRedirectorTest.java ---------------------------------------------------------------------- diff --git a/openide.text/test/unit/src/org/openide/text/CloneableEditorSupportCOSRedirectorTest.java b/openide.text/test/unit/src/org/openide/text/CloneableEditorSupportCOSRedirectorTest.java index 0aeffd2..bed66cd 100644 --- a/openide.text/test/unit/src/org/openide/text/CloneableEditorSupportCOSRedirectorTest.java +++ b/openide.text/test/unit/src/org/openide/text/CloneableEditorSupportCOSRedirectorTest.java @@ -1,33 +1,20 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved. - * - * Oracle and Java are registered trademarks of Oracle and/or its affiliates. - * Other names may be trademarks of their respective owners. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common - * Development and Distribution License("CDDL") (collectively, the - * "License"). You may not use this file except in compliance with the - * License. You can obtain a copy of the License at - * http://www.netbeans.org/cddl-gplv2.html - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the - * specific language governing permissions and limitations under the - * License. When distributing the software, include this License Header - * Notice in each file and include the License file at - * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the GPL Version 2 section of the License file that - * accompanied this code. If applicable, add the following below the - * License Header, with the fields enclosed by brackets [] replaced by - * your own identifying information: - * "Portions Copyrighted [year] [name of copyright owner]" +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Contributor(s): + * http://www.apache.org/licenses/LICENSE-2.0 * - * The Original Software is NetBeans. - * Portions Copyrighted 2007 Sun Microsystems, Inc. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package org.openide.text; http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/74cd28b8/openide.text/test/unit/src/org/openide/text/CloneableEditorSupportRedirectorTest.java ---------------------------------------------------------------------- diff --git a/openide.text/test/unit/src/org/openide/text/CloneableEditorSupportRedirectorTest.java b/openide.text/test/unit/src/org/openide/text/CloneableEditorSupportRedirectorTest.java index 17e7e34..218e1c2 100644 --- a/openide.text/test/unit/src/org/openide/text/CloneableEditorSupportRedirectorTest.java +++ b/openide.text/test/unit/src/org/openide/text/CloneableEditorSupportRedirectorTest.java @@ -1,33 +1,20 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved. - * - * Oracle and Java are registered trademarks of Oracle and/or its affiliates. - * Other names may be trademarks of their respective owners. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common - * Development and Distribution License("CDDL") (collectively, the - * "License"). You may not use this file except in compliance with the - * License. You can obtain a copy of the License at - * http://www.netbeans.org/cddl-gplv2.html - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the - * specific language governing permissions and limitations under the - * License. When distributing the software, include this License Header - * Notice in each file and include the License file at - * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the GPL Version 2 section of the License file that - * accompanied this code. If applicable, add the following below the - * License Header, with the fields enclosed by brackets [] replaced by - * your own identifying information: - * "Portions Copyrighted [year] [name of copyright owner]" +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Contributor(s): + * http://www.apache.org/licenses/LICENSE-2.0 * - * The Original Software is NetBeans. - * Portions Copyrighted 2007 Sun Microsystems, Inc. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package org.openide.text;
