[ https://issues.apache.org/jira/browse/NETBEANS-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16218349#comment-16218349 ]
ASF GitHub Bot commented on NETBEANS-54: ---------------------------------------- geertjanw closed pull request #180: [NETBEANS-54] Module Review java.hints.declarative URL: https://github.com/apache/incubator-netbeans/pull/180 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/resources/DeclarativeHintsTestTemplate.test b/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/resources/DeclarativeHintsTestTemplate.test deleted file mode 100644 index e69de29bb..000000000 diff --git a/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/resources/HintTemplate.hint b/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/resources/HintTemplate.hint deleted file mode 100644 index 8b1378917..000000000 --- a/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/resources/HintTemplate.hint +++ /dev/null @@ -1 +0,0 @@ - diff --git a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/CallOutterMethod.test b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/CallOutterMethod.test index 14b076197..5c5379182 100644 --- a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/CallOutterMethod.test +++ b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/CallOutterMethod.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 test package test; public class Test { diff --git a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/ChangeFieldType.test b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/ChangeFieldType.test index 192eda575..d3a0cb96c 100644 --- a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/ChangeFieldType.test +++ b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/ChangeFieldType.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 no-mods package test; public class Test { diff --git a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/CustomConditionTest.test b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/CustomConditionTest.test index 3db57c1bf..99d4dea4c 100644 --- a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/CustomConditionTest.test +++ b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/CustomConditionTest.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 run-condition-pass package test; public class Test { diff --git a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/EnhancedForTest.test b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/EnhancedForTest.test index 82a0b5ce8..c52d54d6d 100644 --- a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/EnhancedForTest.test +++ b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/EnhancedForTest.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 run-condition-pass package test; public class Test { diff --git a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/FakeBlockWarning.test b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/FakeBlockWarning.test index 634a8ef18..1bc31fa88 100644 --- a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/FakeBlockWarning.test +++ b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/FakeBlockWarning.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 simple package test; import java.util.concurrent.locks.Lock; diff --git a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/ImportsTest1.test b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/ImportsTest1.test index e56e8bfdb..36c8c5ace 100644 --- a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/ImportsTest1.test +++ b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/ImportsTest1.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 simple package test; public class Test { diff --git a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/ImportsTest2.test b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/ImportsTest2.test index 818d8cbf1..18433db01 100644 --- a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/ImportsTest2.test +++ b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/ImportsTest2.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 simple package test; import java.util.LinkedList; diff --git a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/LambdaInput.test b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/LambdaInput.test index 4abe84df9..2b770e034 100644 --- a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/LambdaInput.test +++ b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/LambdaInput.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 convert-to-lambda-positive-1 package test; public abstract class Test { diff --git a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/NameBoundVariablesGetSet.test b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/NameBoundVariablesGetSet.test index ee55e5d63..bd390c9fd 100644 --- a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/NameBoundVariablesGetSet.test +++ b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/NameBoundVariablesGetSet.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 simple package test; public class Test { diff --git a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/NegativeInstanceOfTest.test b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/NegativeInstanceOfTest.test index d2127c659..e4f3c4f91 100644 --- a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/NegativeInstanceOfTest.test +++ b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/NegativeInstanceOfTest.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 positive package test; public class Test { diff --git a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/TestParentMatches.test b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/TestParentMatches.test index ae90420d2..07cc8d0db 100644 --- a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/TestParentMatches.test +++ b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/TestParentMatches.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 run-condition-pass package test; public class Test { diff --git a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/annotation-conversion.test b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/annotation-conversion.test index 285626851..62e9f156a 100644 --- a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/annotation-conversion.test +++ b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/annotation-conversion.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 test package test; import test.Test.Ann; diff --git a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/broken-condition-no-exception.test b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/broken-condition-no-exception.test index 6674c33d8..427d69fea 100644 --- a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/broken-condition-no-exception.test +++ b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/broken-condition-no-exception.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 simple package test; public class Test { diff --git a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/condition-on-fix.test b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/condition-on-fix.test index a803d8e5d..7432b2a0b 100644 --- a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/condition-on-fix.test +++ b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/condition-on-fix.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 first-fix package test; public class Test { diff --git a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/conditionapi/isAvailable.test b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/conditionapi/isAvailable.test index 9871ac957..deff177cf 100644 --- a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/conditionapi/isAvailable.test +++ b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/conditionapi/isAvailable.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 is-available-1 package test; public class Test extends ThreadLocal { diff --git a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/conditionapi/matchWithBind.test b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/conditionapi/matchWithBind.test index 334301898..8fa70e3c3 100644 --- a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/conditionapi/matchWithBind.test +++ b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/conditionapi/matchWithBind.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 bind-works-1 package test; public class Test { diff --git a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/expression-to-expression-statement.test b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/expression-to-expression-statement.test index 1ded2ab50..f3dcb5a83 100644 --- a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/expression-to-expression-statement.test +++ b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/expression-to-expression-statement.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 rewrite package test; public class Test { diff --git a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/fqn-rewrite-test.test b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/fqn-rewrite-test.test index 83b018f16..7f91c077f 100644 --- a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/fqn-rewrite-test.test +++ b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/fqn-rewrite-test.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 pos-1 package test; import javax.swing.text.AbstractDocument; diff --git a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/otherwise-test.test b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/otherwise-test.test index c6509a087..6501538e8 100644 --- a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/otherwise-test.test +++ b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/otherwise-test.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 pos-1 package test; public class Test { diff --git a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/remove-from-parent.test b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/remove-from-parent.test index e8000c650..2d3099707 100644 --- a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/remove-from-parent.test +++ b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/remove-from-parent.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 pos-1 package test; public class Test { diff --git a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/testfrombundle/display-names-from-bundle.test b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/testfrombundle/display-names-from-bundle.test index 800208c03..962d36852 100644 --- a/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/testfrombundle/display-names-from-bundle.test +++ b/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/testfrombundle/display-names-from-bundle.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 first-fix package test; public class Test { ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Clarify the status of donated files from ApacheNetBeansDonation1.zip > -------------------------------------------------------------------- > > Key: NETBEANS-54 > URL: https://issues.apache.org/jira/browse/NETBEANS-54 > Project: NetBeans > Issue Type: Bug > Reporter: Bertrand Delacretaz > Labels: pull-request-available > Attachments: JavaApplication9.java, categorized-1.zip, > convert-headers-1.zip > > > Reviewing the software grant [1] provided with the first NetBeans code > donation, my understanding is that not all files found in that zip are > donated. > The grant indicates that the contents of that file [2] ("Code File") are > donated "excluding any third-party and separately licensed material contained > within the Code File". > I don't think we can consider that code ready to release as is, due to the > uncertainty that this creates w.r.t to which files are donated and which are > not. > The zip archive contains about 45'000 files. > I see the following options: > a) Review all files and include only those which are not "third-party and > separately licensed material". How such files are identified needs to be > defined and documented, either in scripts under version control or as a set > of rules. The review process must be documented and traceable, so that we can > go back to it if problems are found in the future. > b) Get an updated grant which does not mention such exclusions. > If someone sees other options please discuss here or on the NetBeans dev > list, referencing this ticket. > [1] in svn under private/documents/grants/oracle-america-netbeans.pdf , ASF > members have access > [2] under http://bits.netbeans.org/download/apache-donation/ - > SHA256(ApacheNetBeansDonation1.zip)= > 7f2ca0f61953a190613c9a0fbcc1b034084b04a4d55d23c02cefffc354e7c24a -- This message was sent by Atlassian JIRA (v6.4.14#64029)