[NETBEANS-54] Module Review java.metrics
Project: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/commit/38a6dbbb Tree: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/tree/38a6dbbb Diff: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/diff/38a6dbbb Branch: refs/heads/jdk-javac Commit: 38a6dbbb93748dc487d288a84c13eb065710a787 Parents: b074135 Author: Tuyen Tran <[email protected]> Authored: Sat Oct 7 16:23:42 2017 +0700 Committer: Emilian Bold <[email protected]> Committed: Sat Oct 7 12:23:42 2017 +0300 ---------------------------------------------------------------------- .../unit/data/hints/metrics/CoupledEnum.java | 20 +++++++++++++++++--- .../data/hints/metrics/CoupledException.java | 20 +++++++++++++++++--- .../unit/data/hints/metrics/FullBranch.java | 20 +++++++++++++++++--- .../unit/data/hints/metrics/MethodCount.java | 18 ++++++++++++++++++ .../data/hints/metrics/MethodCountAbstract.java | 18 ++++++++++++++++++ .../data/hints/metrics/MethodCountLess.java | 18 ++++++++++++++++++ .../unit/data/hints/metrics/MethodCoupled.java | 20 +++++++++++++++++--- .../unit/data/hints/metrics/MethodLimits.java | 20 +++++++++++++++++--- .../unit/data/hints/metrics/MethodNoReturn.java | 20 +++++++++++++++++--- .../data/hints/metrics/MethodNotCoupled.java | 20 +++++++++++++++++--- .../data/hints/metrics/MethodNotTooComplex.java | 20 +++++++++++++++++--- .../data/hints/metrics/MethodNotTooDeep.java | 20 +++++++++++++++++--- .../unit/data/hints/metrics/MethodReturn.java | 20 +++++++++++++++++--- .../data/hints/metrics/MethodTooComplex.java | 20 +++++++++++++++++--- .../unit/data/hints/metrics/MethodTooDeep.java | 20 +++++++++++++++++--- .../unit/data/hints/metrics/NoMethodLimits.java | 20 +++++++++++++++++--- .../metrics/NotTooManyLinesOrCommands.java | 20 +++++++++++++++++--- .../hints/metrics/TooManyLinesOrCommands.java | 20 +++++++++++++++++--- 18 files changed, 309 insertions(+), 45 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/38a6dbbb/java.metrics/test/unit/data/hints/metrics/CoupledEnum.java ---------------------------------------------------------------------- diff --git a/java.metrics/test/unit/data/hints/metrics/CoupledEnum.java b/java.metrics/test/unit/data/hints/metrics/CoupledEnum.java index e388f36..c27b55c 100644 --- a/java.metrics/test/unit/data/hints/metrics/CoupledEnum.java +++ b/java.metrics/test/unit/data/hints/metrics/CoupledEnum.java @@ -1,6 +1,20 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. +/** + * 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. */ package test; http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/38a6dbbb/java.metrics/test/unit/data/hints/metrics/CoupledException.java ---------------------------------------------------------------------- diff --git a/java.metrics/test/unit/data/hints/metrics/CoupledException.java b/java.metrics/test/unit/data/hints/metrics/CoupledException.java index a43b70f..f3119fc 100644 --- a/java.metrics/test/unit/data/hints/metrics/CoupledException.java +++ b/java.metrics/test/unit/data/hints/metrics/CoupledException.java @@ -1,6 +1,20 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. +/** + * 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. */ package test; http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/38a6dbbb/java.metrics/test/unit/data/hints/metrics/FullBranch.java ---------------------------------------------------------------------- diff --git a/java.metrics/test/unit/data/hints/metrics/FullBranch.java b/java.metrics/test/unit/data/hints/metrics/FullBranch.java index abbdab3..564263f 100644 --- a/java.metrics/test/unit/data/hints/metrics/FullBranch.java +++ b/java.metrics/test/unit/data/hints/metrics/FullBranch.java @@ -1,6 +1,20 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. +/** + * 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. */ package test; http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/38a6dbbb/java.metrics/test/unit/data/hints/metrics/MethodCount.java ---------------------------------------------------------------------- diff --git a/java.metrics/test/unit/data/hints/metrics/MethodCount.java b/java.metrics/test/unit/data/hints/metrics/MethodCount.java index 2b53377..685a753 100644 --- a/java.metrics/test/unit/data/hints/metrics/MethodCount.java +++ b/java.metrics/test/unit/data/hints/metrics/MethodCount.java @@ -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. + */ package test; /** http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/38a6dbbb/java.metrics/test/unit/data/hints/metrics/MethodCountAbstract.java ---------------------------------------------------------------------- diff --git a/java.metrics/test/unit/data/hints/metrics/MethodCountAbstract.java b/java.metrics/test/unit/data/hints/metrics/MethodCountAbstract.java index bba00e8..0a3e4c9 100644 --- a/java.metrics/test/unit/data/hints/metrics/MethodCountAbstract.java +++ b/java.metrics/test/unit/data/hints/metrics/MethodCountAbstract.java @@ -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. + */ package test; import java.util.Enumeration; http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/38a6dbbb/java.metrics/test/unit/data/hints/metrics/MethodCountLess.java ---------------------------------------------------------------------- diff --git a/java.metrics/test/unit/data/hints/metrics/MethodCountLess.java b/java.metrics/test/unit/data/hints/metrics/MethodCountLess.java index f0173b7..813e464 100644 --- a/java.metrics/test/unit/data/hints/metrics/MethodCountLess.java +++ b/java.metrics/test/unit/data/hints/metrics/MethodCountLess.java @@ -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. + */ package test; /** http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/38a6dbbb/java.metrics/test/unit/data/hints/metrics/MethodCoupled.java ---------------------------------------------------------------------- diff --git a/java.metrics/test/unit/data/hints/metrics/MethodCoupled.java b/java.metrics/test/unit/data/hints/metrics/MethodCoupled.java index 85a0fe2..c5cac3f 100644 --- a/java.metrics/test/unit/data/hints/metrics/MethodCoupled.java +++ b/java.metrics/test/unit/data/hints/metrics/MethodCoupled.java @@ -1,6 +1,20 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. +/** + * 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. */ package test; http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/38a6dbbb/java.metrics/test/unit/data/hints/metrics/MethodLimits.java ---------------------------------------------------------------------- diff --git a/java.metrics/test/unit/data/hints/metrics/MethodLimits.java b/java.metrics/test/unit/data/hints/metrics/MethodLimits.java index 0e40f27..e290b01 100644 --- a/java.metrics/test/unit/data/hints/metrics/MethodLimits.java +++ b/java.metrics/test/unit/data/hints/metrics/MethodLimits.java @@ -1,6 +1,20 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. +/** + * 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. */ package test; http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/38a6dbbb/java.metrics/test/unit/data/hints/metrics/MethodNoReturn.java ---------------------------------------------------------------------- diff --git a/java.metrics/test/unit/data/hints/metrics/MethodNoReturn.java b/java.metrics/test/unit/data/hints/metrics/MethodNoReturn.java index e1d0352..dfefebb 100644 --- a/java.metrics/test/unit/data/hints/metrics/MethodNoReturn.java +++ b/java.metrics/test/unit/data/hints/metrics/MethodNoReturn.java @@ -1,6 +1,20 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. +/** + * 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. */ package test; http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/38a6dbbb/java.metrics/test/unit/data/hints/metrics/MethodNotCoupled.java ---------------------------------------------------------------------- diff --git a/java.metrics/test/unit/data/hints/metrics/MethodNotCoupled.java b/java.metrics/test/unit/data/hints/metrics/MethodNotCoupled.java index 8793005..9d77e24 100644 --- a/java.metrics/test/unit/data/hints/metrics/MethodNotCoupled.java +++ b/java.metrics/test/unit/data/hints/metrics/MethodNotCoupled.java @@ -1,6 +1,20 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. +/** + * 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. */ package test; http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/38a6dbbb/java.metrics/test/unit/data/hints/metrics/MethodNotTooComplex.java ---------------------------------------------------------------------- diff --git a/java.metrics/test/unit/data/hints/metrics/MethodNotTooComplex.java b/java.metrics/test/unit/data/hints/metrics/MethodNotTooComplex.java index 0c900e6..8df48a2 100644 --- a/java.metrics/test/unit/data/hints/metrics/MethodNotTooComplex.java +++ b/java.metrics/test/unit/data/hints/metrics/MethodNotTooComplex.java @@ -1,6 +1,20 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. +/** + * 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. */ package test; http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/38a6dbbb/java.metrics/test/unit/data/hints/metrics/MethodNotTooDeep.java ---------------------------------------------------------------------- diff --git a/java.metrics/test/unit/data/hints/metrics/MethodNotTooDeep.java b/java.metrics/test/unit/data/hints/metrics/MethodNotTooDeep.java index 4eb4436..be2e4e8 100644 --- a/java.metrics/test/unit/data/hints/metrics/MethodNotTooDeep.java +++ b/java.metrics/test/unit/data/hints/metrics/MethodNotTooDeep.java @@ -1,6 +1,20 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. +/** + * 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. */ package test; http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/38a6dbbb/java.metrics/test/unit/data/hints/metrics/MethodReturn.java ---------------------------------------------------------------------- diff --git a/java.metrics/test/unit/data/hints/metrics/MethodReturn.java b/java.metrics/test/unit/data/hints/metrics/MethodReturn.java index 0cc92a2..d71634e 100644 --- a/java.metrics/test/unit/data/hints/metrics/MethodReturn.java +++ b/java.metrics/test/unit/data/hints/metrics/MethodReturn.java @@ -1,6 +1,20 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. +/** + * 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. */ package test; http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/38a6dbbb/java.metrics/test/unit/data/hints/metrics/MethodTooComplex.java ---------------------------------------------------------------------- diff --git a/java.metrics/test/unit/data/hints/metrics/MethodTooComplex.java b/java.metrics/test/unit/data/hints/metrics/MethodTooComplex.java index 70c6480..d060c3f 100644 --- a/java.metrics/test/unit/data/hints/metrics/MethodTooComplex.java +++ b/java.metrics/test/unit/data/hints/metrics/MethodTooComplex.java @@ -1,6 +1,20 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. +/** + * 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. */ package test; http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/38a6dbbb/java.metrics/test/unit/data/hints/metrics/MethodTooDeep.java ---------------------------------------------------------------------- diff --git a/java.metrics/test/unit/data/hints/metrics/MethodTooDeep.java b/java.metrics/test/unit/data/hints/metrics/MethodTooDeep.java index 208aba1..f17e280 100644 --- a/java.metrics/test/unit/data/hints/metrics/MethodTooDeep.java +++ b/java.metrics/test/unit/data/hints/metrics/MethodTooDeep.java @@ -1,6 +1,20 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. +/** + * 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. */ package test; http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/38a6dbbb/java.metrics/test/unit/data/hints/metrics/NoMethodLimits.java ---------------------------------------------------------------------- diff --git a/java.metrics/test/unit/data/hints/metrics/NoMethodLimits.java b/java.metrics/test/unit/data/hints/metrics/NoMethodLimits.java index 406d05a..c248dfb 100644 --- a/java.metrics/test/unit/data/hints/metrics/NoMethodLimits.java +++ b/java.metrics/test/unit/data/hints/metrics/NoMethodLimits.java @@ -1,6 +1,20 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. +/** + * 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. */ package test; http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/38a6dbbb/java.metrics/test/unit/data/hints/metrics/NotTooManyLinesOrCommands.java ---------------------------------------------------------------------- diff --git a/java.metrics/test/unit/data/hints/metrics/NotTooManyLinesOrCommands.java b/java.metrics/test/unit/data/hints/metrics/NotTooManyLinesOrCommands.java index 9aaed9c..dfd6bc0 100644 --- a/java.metrics/test/unit/data/hints/metrics/NotTooManyLinesOrCommands.java +++ b/java.metrics/test/unit/data/hints/metrics/NotTooManyLinesOrCommands.java @@ -1,6 +1,20 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. +/** + * 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. */ package test; http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/38a6dbbb/java.metrics/test/unit/data/hints/metrics/TooManyLinesOrCommands.java ---------------------------------------------------------------------- diff --git a/java.metrics/test/unit/data/hints/metrics/TooManyLinesOrCommands.java b/java.metrics/test/unit/data/hints/metrics/TooManyLinesOrCommands.java index e51ae5c..3879e69 100644 --- a/java.metrics/test/unit/data/hints/metrics/TooManyLinesOrCommands.java +++ b/java.metrics/test/unit/data/hints/metrics/TooManyLinesOrCommands.java @@ -1,6 +1,20 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. +/** + * 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. */ package test;
