Repository: incubator-netbeans Updated Branches: refs/heads/master f352f05be -> 9a8e28b4c
[NETBEANS-54] Module Review java.api.common Excluded CommandLine.tokens from Rat Project: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/commit/9a8e28b4 Tree: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/tree/9a8e28b4 Diff: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/diff/9a8e28b4 Branch: refs/heads/master Commit: 9a8e28b4c8dcdc6e7fd129557411a52bb2b1cc88 Parents: f352f05 Author: mirko <[email protected]> Authored: Sun Oct 15 12:31:33 2017 +0200 Committer: Emilian Bold <[email protected]> Committed: Sun Oct 15 13:31:33 2017 +0300 ---------------------------------------------------------------------- .../queries/MultiModuleGroupQueryImplTest.java | 59 ++++++-------------- nbbuild/build.xml | 1 + 2 files changed, 19 insertions(+), 41 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/9a8e28b4/java.api.common/test/unit/src/org/netbeans/modules/java/api/common/queries/MultiModuleGroupQueryImplTest.java ---------------------------------------------------------------------- diff --git a/java.api.common/test/unit/src/org/netbeans/modules/java/api/common/queries/MultiModuleGroupQueryImplTest.java b/java.api.common/test/unit/src/org/netbeans/modules/java/api/common/queries/MultiModuleGroupQueryImplTest.java index eefb113..2885eae 100644 --- a/java.api.common/test/unit/src/org/netbeans/modules/java/api/common/queries/MultiModuleGroupQueryImplTest.java +++ b/java.api.common/test/unit/src/org/netbeans/modules/java/api/common/queries/MultiModuleGroupQueryImplTest.java @@ -1,3 +1,21 @@ +/** + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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.netbeans.modules.java.api.common.queries; import static junit.framework.TestCase.assertTrue; @@ -18,47 +36,6 @@ import org.openide.filesystems.FileObject; import org.openide.filesystems.FileUtil; import org.openide.util.test.MockLookup; -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright 2017 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]" - * - * If you wish your version of this file to be governed by only the CDDL - * or only the GPL Version 2, indicate your decision by adding - * "[Contributor] elects to include this software in this distribution - * under the [CDDL or GPL Version 2] license." If you do not indicate a - * single choice of license, a recipient has the option to distribute - * your version of this file under either the CDDL, the GPL Version 2 or - * to extend the choice of license to its licensees as provided above. - * However, if you add GPL Version 2 code and therefore, elected the GPL - * Version 2 license, then the option applies only if the new code is - * made subject to such option by the copyright holder. - * - * Contributor(s): - * - * Portions Copyrighted 2017 Sun Microsystems, Inc. - */ /** * http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/9a8e28b4/nbbuild/build.xml ---------------------------------------------------------------------- diff --git a/nbbuild/build.xml b/nbbuild/build.xml index b2342db..949ef13 100644 --- a/nbbuild/build.xml +++ b/nbbuild/build.xml @@ -2043,6 +2043,7 @@ It is possible to use -Ddebug.port=3234 -Ddebug.pause=y to start the system in d <exclude name="css.prep/test/unit/data/testFiles/testIssue227676.scss" /> <!--simple file for testing--> <exclude name="css.prep/test/unit/data/testProject/public_html/*" /> <!--simple files for testing--> <exclude name="junit.ui/src/org/netbeans/modules/junit/ui/resources/*.template" /> <!--license would be visible when users edit the templates inside their IDE--> + <exclude name="java.api.common/src/org/netbeans/modules/java/api/common/project/ui/customizer/vmo/gen/CommandLine.tokens" /> <!--generated by ANTLR--> </patternset> <rat:report xmlns:rat="antlib:org.apache.rat.anttasks" reportfile="build/rat-report.txt"> <rat:substringMatcher licenseFamilyCategory="w3c2" licenseFamilyName="W3C Software and Document Notice and License">
