Repository: incubator-netbeans
Updated Branches:
  refs/heads/master ccbd76fc0 -> 737720408


[NETBEANS-54] Module Review openide.filesystems


Project: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/commit/9fce19e5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/tree/9fce19e5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/diff/9fce19e5

Branch: refs/heads/master
Commit: 9fce19e5c1313c90e20fbb7e971e474f98422463
Parents: f89fb98
Author: Emilian Bold <[email protected]>
Authored: Tue Sep 26 11:45:27 2017 +0300
Committer: Emilian Bold <[email protected]>
Committed: Tue Sep 26 11:45:27 2017 +0300

----------------------------------------------------------------------
 .../doc-files/resolverDocumentation.html        | 57 +++++++-------------
 .../unit/src/META-INF/upgrade/FileObject.test   | 18 +++++++
 .../unit/src/META-INF/upgrade/FileUtil.test     | 18 +++++++
 .../openide/filesystems/declmime/code-fs.xml    | 20 +++++++
 .../openide/filesystems/declmime/data-fs.xml    | 20 +++++++
 .../filesystems/declmime/mime-resolver-rule.xml | 20 +++++++
 .../org/openide/filesystems/data/Attributes.xml | 20 +++++++
 .../org/openide/filesystems/test-layer-1.xml    | 20 +++++++
 .../org/openide/filesystems/test-layer-2.xml    | 20 +++++++
 .../openide/filesystems/test-layer-attribs.xml  | 20 +++++++
 10 files changed, 195 insertions(+), 38 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/9fce19e5/openide.filesystems/src/org/openide/filesystems/doc-files/resolverDocumentation.html
----------------------------------------------------------------------
diff --git 
a/openide.filesystems/src/org/openide/filesystems/doc-files/resolverDocumentation.html
 
b/openide.filesystems/src/org/openide/filesystems/doc-files/resolverDocumentation.html
index 37da41c..1700840 100644
--- 
a/openide.filesystems/src/org/openide/filesystems/doc-files/resolverDocumentation.html
+++ 
b/openide.filesystems/src/org/openide/filesystems/doc-files/resolverDocumentation.html
@@ -1,44 +1,25 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
 
 <!--
-DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
-
-Copyright (c) 2005, 2016 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):
-  -->
+
+    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.
+
+-->
 
 <html>
 <head>

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/9fce19e5/openide.filesystems/test/unit/src/META-INF/upgrade/FileObject.test
----------------------------------------------------------------------
diff --git a/openide.filesystems/test/unit/src/META-INF/upgrade/FileObject.test 
b/openide.filesystems/test/unit/src/META-INF/upgrade/FileObject.test
index de8cd26..e1b410c 100644
--- a/openide.filesystems/test/unit/src/META-INF/upgrade/FileObject.test
+++ b/openide.filesystems/test/unit/src/META-INF/upgrade/FileObject.test
@@ -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.
+ */
 %%TestCase toURI
 package test;
 class C {

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/9fce19e5/openide.filesystems/test/unit/src/META-INF/upgrade/FileUtil.test
----------------------------------------------------------------------
diff --git a/openide.filesystems/test/unit/src/META-INF/upgrade/FileUtil.test 
b/openide.filesystems/test/unit/src/META-INF/upgrade/FileUtil.test
index 0068936..4754cf1 100644
--- a/openide.filesystems/test/unit/src/META-INF/upgrade/FileUtil.test
+++ b/openide.filesystems/test/unit/src/META-INF/upgrade/FileUtil.test
@@ -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.
+ */
 %%TestCase realCurrDir
 package test;
 class C {

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/9fce19e5/openide.filesystems/test/unit/src/org/netbeans/modules/openide/filesystems/declmime/code-fs.xml
----------------------------------------------------------------------
diff --git 
a/openide.filesystems/test/unit/src/org/netbeans/modules/openide/filesystems/declmime/code-fs.xml
 
b/openide.filesystems/test/unit/src/org/netbeans/modules/openide/filesystems/declmime/code-fs.xml
index a74ae44..438b1e5 100644
--- 
a/openide.filesystems/test/unit/src/org/netbeans/modules/openide/filesystems/declmime/code-fs.xml
+++ 
b/openide.filesystems/test/unit/src/org/netbeans/modules/openide/filesystems/declmime/code-fs.xml
@@ -1,4 +1,24 @@
 <?xml version="1.0"?>
+<!--
+
+    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.
+
+-->
 
 <filesystem>
     <folder name="root">

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/9fce19e5/openide.filesystems/test/unit/src/org/netbeans/modules/openide/filesystems/declmime/data-fs.xml
----------------------------------------------------------------------
diff --git 
a/openide.filesystems/test/unit/src/org/netbeans/modules/openide/filesystems/declmime/data-fs.xml
 
b/openide.filesystems/test/unit/src/org/netbeans/modules/openide/filesystems/declmime/data-fs.xml
index d11896a..c0d3127 100644
--- 
a/openide.filesystems/test/unit/src/org/netbeans/modules/openide/filesystems/declmime/data-fs.xml
+++ 
b/openide.filesystems/test/unit/src/org/netbeans/modules/openide/filesystems/declmime/data-fs.xml
@@ -1,4 +1,24 @@
 <?xml version="1.0"?>
+<!--
+
+    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.
+
+-->
 
 <filesystem>
     <folder name="root">

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/9fce19e5/openide.filesystems/test/unit/src/org/netbeans/modules/openide/filesystems/declmime/mime-resolver-rule.xml
----------------------------------------------------------------------
diff --git 
a/openide.filesystems/test/unit/src/org/netbeans/modules/openide/filesystems/declmime/mime-resolver-rule.xml
 
b/openide.filesystems/test/unit/src/org/netbeans/modules/openide/filesystems/declmime/mime-resolver-rule.xml
index 21abccd..d3781a6 100644
--- 
a/openide.filesystems/test/unit/src/org/netbeans/modules/openide/filesystems/declmime/mime-resolver-rule.xml
+++ 
b/openide.filesystems/test/unit/src/org/netbeans/modules/openide/filesystems/declmime/mime-resolver-rule.xml
@@ -1,4 +1,24 @@
 <?xml version="1.0"?>
+<!--
+
+    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.
+
+-->
 <MIME-resolver>
     <file>
         <ext name="xml"/>

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/9fce19e5/openide.filesystems/test/unit/src/org/openide/filesystems/data/Attributes.xml
----------------------------------------------------------------------
diff --git 
a/openide.filesystems/test/unit/src/org/openide/filesystems/data/Attributes.xml 
b/openide.filesystems/test/unit/src/org/openide/filesystems/data/Attributes.xml
index 1df06cf..6294834 100644
--- 
a/openide.filesystems/test/unit/src/org/openide/filesystems/data/Attributes.xml
+++ 
b/openide.filesystems/test/unit/src/org/openide/filesystems/data/Attributes.xml
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    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.
+
+-->
 
 <!--
     Document   : Attributes.xml.xml

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/9fce19e5/openide.filesystems/test/unit/src/org/openide/filesystems/test-layer-1.xml
----------------------------------------------------------------------
diff --git 
a/openide.filesystems/test/unit/src/org/openide/filesystems/test-layer-1.xml 
b/openide.filesystems/test/unit/src/org/openide/filesystems/test-layer-1.xml
index 042399a..be42b0b 100644
--- a/openide.filesystems/test/unit/src/org/openide/filesystems/test-layer-1.xml
+++ b/openide.filesystems/test/unit/src/org/openide/filesystems/test-layer-1.xml
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    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.
+
+-->
 <!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.1//EN" "wherever">
 <filesystem>
     <file name="foo"/>

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/9fce19e5/openide.filesystems/test/unit/src/org/openide/filesystems/test-layer-2.xml
----------------------------------------------------------------------
diff --git 
a/openide.filesystems/test/unit/src/org/openide/filesystems/test-layer-2.xml 
b/openide.filesystems/test/unit/src/org/openide/filesystems/test-layer-2.xml
index c7385f3..fb06db8 100644
--- a/openide.filesystems/test/unit/src/org/openide/filesystems/test-layer-2.xml
+++ b/openide.filesystems/test/unit/src/org/openide/filesystems/test-layer-2.xml
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    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.
+
+-->
 <!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.1//EN" "wherever">
 <filesystem>
     <file name="bar"/>

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/9fce19e5/openide.filesystems/test/unit/src/org/openide/filesystems/test-layer-attribs.xml
----------------------------------------------------------------------
diff --git 
a/openide.filesystems/test/unit/src/org/openide/filesystems/test-layer-attribs.xml
 
b/openide.filesystems/test/unit/src/org/openide/filesystems/test-layer-attribs.xml
index ef7364c..2d2c099 100644
--- 
a/openide.filesystems/test/unit/src/org/openide/filesystems/test-layer-attribs.xml
+++ 
b/openide.filesystems/test/unit/src/org/openide/filesystems/test-layer-attribs.xml
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    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.
+
+-->
 <!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.2//EN" 
"http://www.netbeans.org/dtds/filesystem-1_2.dtd";>
 <filesystem>
     <folder name="foo">

Reply via email to