From 9fce19e5c1313c90e20fbb7e971e474f98422463 Mon Sep 17 00:00:00 2001 From: Emilian Bold Date: Tue, 26 Sep 2017 11:45:27 +0300 Subject: [PATCH 1/2] [NETBEANS-54] Module Review openide.filesystems --- .../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 +++++++ .../declmime/mime-resolver-rule.xml | 20 +++++++ .../openide/filesystems/data/Attributes.xml | 20 +++++++ .../org/openide/filesystems/test-layer-1.xml | 20 +++++++ .../org/openide/filesystems/test-layer-2.xml | 20 +++++++ .../filesystems/test-layer-attribs.xml | 20 +++++++ 10 files changed, 195 insertions(+), 38 deletions(-) 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 37da41cd3a45..1700840f3fb1 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 @@ + + 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. + +--> 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 de8cd2647371..e1b410cec8e6 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 { 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 0068936d1111..4754cf1e0271 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 { 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 a74ae44e6390..438b1e590868 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 @@ + 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 d11896a7d6a6..c0d3127e4f9f 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 @@ + 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 21abccde3f7d..d3781a6c36b2 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 @@ + 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 1df06cfe0d63..629483491401 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 @@ + 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 c7385f3914a3..fb06db863a7e 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 @@ + 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 ef7364c057e3..2d2c09977cee 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 @@ + From 2553bf5e50d075d89eed3531587c4da8f782e9a1 Mon Sep 17 00:00:00 2001 From: Emilian Bold Date: Tue, 26 Sep 2017 11:48:42 +0300 Subject: [PATCH 2/2] [NETBEANS-54] Module Review openide.filesystems.nb --- .../filesystems/mime-resolver-filechooser.xml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/openide.filesystems.nb/test/unit/src/org/netbeans/modules/openide/filesystems/mime-resolver-filechooser.xml b/openide.filesystems.nb/test/unit/src/org/netbeans/modules/openide/filesystems/mime-resolver-filechooser.xml index b044056492a2..b1c9bfdffd56 100644 --- a/openide.filesystems.nb/test/unit/src/org/netbeans/modules/openide/filesystems/mime-resolver-filechooser.xml +++ b/openide.filesystems.nb/test/unit/src/org/netbeans/modules/openide/filesystems/mime-resolver-filechooser.xml @@ -1,4 +1,24 @@ +