You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by GitBox <gi...@apache.org> on 2017/10/25 10:08:34 UTC

[GitHub] geertjanw closed pull request #180: [NETBEANS-54] Module Review java.hints.declarative

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:
users@infra.apache.org


With regards,
Apache Git Services