[NETBEANS-54] Module review xml.retriever - no external library - checked Rat report; added license header to testfiles - skimmed through the module, did not notice additional problems
Project: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/commit/c70e37a8 Tree: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/tree/c70e37a8 Diff: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/diff/c70e37a8 Branch: refs/heads/master Commit: c70e37a8c3cf5b2b9c5cee1e1b526ed73c5bf82b Parents: 0ff3498 Author: Matthias Bläsing <[email protected]> Authored: Tue Oct 3 19:07:59 2017 +0200 Committer: Matthias Bläsing <[email protected]> Committed: Wed Oct 11 19:04:15 2017 +0200 ---------------------------------------------------------------------- .../xml/retriever/catalog/impl/catalog.xml | 20 +++++++++++++++++++ .../xml/retriever/catalog/impl/dummyFile.txt | 21 ++++++++++++++++++++ .../xml/retriever/catalog/model/catalog.xml | 20 +++++++++++++++++++ .../xml/retriever/catalog/model/empty.xml | 20 +++++++++++++++++++ 4 files changed, 81 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/c70e37a8/xml.retriever/test/unit/src/org/netbeans/modules/xml/retriever/catalog/impl/catalog.xml ---------------------------------------------------------------------- diff --git a/xml.retriever/test/unit/src/org/netbeans/modules/xml/retriever/catalog/impl/catalog.xml b/xml.retriever/test/unit/src/org/netbeans/modules/xml/retriever/catalog/impl/catalog.xml index cc84b1e..70a7419 100644 --- a/xml.retriever/test/unit/src/org/netbeans/modules/xml/retriever/catalog/impl/catalog.xml +++ b/xml.retriever/test/unit/src/org/netbeans/modules/xml/retriever/catalog/impl/catalog.xml @@ -1,4 +1,24 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- + + 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. + +--> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system"> <system referencingFile="refFileAttr" systemId="sysIDAttr" uri="uriAttr" xprojectCatalogFileLocation="xprojCatRefAttr"/> <nextCatalog catalog="catalogAttr"/> http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/c70e37a8/xml.retriever/test/unit/src/org/netbeans/modules/xml/retriever/catalog/impl/dummyFile.txt ---------------------------------------------------------------------- diff --git a/xml.retriever/test/unit/src/org/netbeans/modules/xml/retriever/catalog/impl/dummyFile.txt b/xml.retriever/test/unit/src/org/netbeans/modules/xml/retriever/catalog/impl/dummyFile.txt index e69de29..b65e1da 100644 --- a/xml.retriever/test/unit/src/org/netbeans/modules/xml/retriever/catalog/impl/dummyFile.txt +++ b/xml.retriever/test/unit/src/org/netbeans/modules/xml/retriever/catalog/impl/dummyFile.txt @@ -0,0 +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. + +--> +Dummy File \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/c70e37a8/xml.retriever/test/unit/src/org/netbeans/modules/xml/retriever/catalog/model/catalog.xml ---------------------------------------------------------------------- diff --git a/xml.retriever/test/unit/src/org/netbeans/modules/xml/retriever/catalog/model/catalog.xml b/xml.retriever/test/unit/src/org/netbeans/modules/xml/retriever/catalog/model/catalog.xml index cc84b1e..70a7419 100644 --- a/xml.retriever/test/unit/src/org/netbeans/modules/xml/retriever/catalog/model/catalog.xml +++ b/xml.retriever/test/unit/src/org/netbeans/modules/xml/retriever/catalog/model/catalog.xml @@ -1,4 +1,24 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- + + 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. + +--> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system"> <system referencingFile="refFileAttr" systemId="sysIDAttr" uri="uriAttr" xprojectCatalogFileLocation="xprojCatRefAttr"/> <nextCatalog catalog="catalogAttr"/> http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/c70e37a8/xml.retriever/test/unit/src/org/netbeans/modules/xml/retriever/catalog/model/empty.xml ---------------------------------------------------------------------- diff --git a/xml.retriever/test/unit/src/org/netbeans/modules/xml/retriever/catalog/model/empty.xml b/xml.retriever/test/unit/src/org/netbeans/modules/xml/retriever/catalog/model/empty.xml index da480cf..82087b9 100644 --- a/xml.retriever/test/unit/src/org/netbeans/modules/xml/retriever/catalog/model/empty.xml +++ b/xml.retriever/test/unit/src/org/netbeans/modules/xml/retriever/catalog/model/empty.xml @@ -1,4 +1,24 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- + + 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. + +--> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system"> <system systemId="dummy/dummy" uri="file:/D:/workspace/release551/xml/retriever/build/test/unit/classes/org/netbeans/modules/xml/retriever/catalog/impl/dummyFile.txt"/> </catalog>
