diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-01-31 01:11:24 +0100 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-01-31 01:13:14 +0100 |
commit | 4daa310730284a784548d8b7857a530ff24cc702 (patch) | |
tree | 58f28a4a67f76fdba537d7facf4dc19a33ff5104 /sonar-squid | |
parent | cffdb0bdd4c32f5eec12d44a551b73c8fabb6b37 (diff) | |
download | sonarqube-4daa310730284a784548d8b7857a530ff24cc702.tar.gz sonarqube-4daa310730284a784548d8b7857a530ff24cc702.zip |
Add profile to check copyright headers + fix some badly formatted headers
Diffstat (limited to 'sonar-squid')
86 files changed, 183 insertions, 3 deletions
diff --git a/sonar-squid/src/main/java/org/sonar/squid/Squid.java b/sonar-squid/src/main/java/org/sonar/squid/Squid.java index 25547f148c5..d1603ea5674 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/Squid.java +++ b/sonar-squid/src/main/java/org/sonar/squid/Squid.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid; import java.util.Collection; diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/AnalysisException.java b/sonar-squid/src/main/java/org/sonar/squid/api/AnalysisException.java index 8bb52803096..604c28f0115 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/AnalysisException.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/AnalysisException.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; public class AnalysisException extends RuntimeException { diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/CheckMessage.java b/sonar-squid/src/main/java/org/sonar/squid/api/CheckMessage.java index 9a59293a461..b20846371ba 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/CheckMessage.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/CheckMessage.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; import java.text.MessageFormat; diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/CodeCheck.java b/sonar-squid/src/main/java/org/sonar/squid/api/CodeCheck.java index ac7f2545ddb..aaaeeab9f1f 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/CodeCheck.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/CodeCheck.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; public interface CodeCheck extends CodeVisitor { diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/CodeScanner.java b/sonar-squid/src/main/java/org/sonar/squid/api/CodeScanner.java index 3a4c53c949d..0d7a84d70a8 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/CodeScanner.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/CodeScanner.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; import java.util.ArrayList; diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/CodeVisitor.java b/sonar-squid/src/main/java/org/sonar/squid/api/CodeVisitor.java index 82163bb2bac..63fde3442cf 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/CodeVisitor.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/CodeVisitor.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; public interface CodeVisitor { diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/Query.java b/sonar-squid/src/main/java/org/sonar/squid/api/Query.java index 56e5af24c28..e7e8f19fcb9 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/Query.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/Query.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/SourceClass.java b/sonar-squid/src/main/java/org/sonar/squid/api/SourceClass.java index 1be1ceef863..7badb42ea43 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/SourceClass.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/SourceClass.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; public class SourceClass extends SourceCode { diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/SourceCode.java b/sonar-squid/src/main/java/org/sonar/squid/api/SourceCode.java index 03d3ce8fc8a..a38d2613258 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/SourceCode.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/SourceCode.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; import java.util.HashSet; diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/SourceCodeEdge.java b/sonar-squid/src/main/java/org/sonar/squid/api/SourceCodeEdge.java index 37bf771e349..322a6d3e640 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/SourceCodeEdge.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/SourceCodeEdge.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; import java.util.HashSet; diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/SourceCodeEdgeUsage.java b/sonar-squid/src/main/java/org/sonar/squid/api/SourceCodeEdgeUsage.java index 9d4b311c580..fba1e56a8d1 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/SourceCodeEdgeUsage.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/SourceCodeEdgeUsage.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; public enum SourceCodeEdgeUsage { diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/SourceCodeIndexer.java b/sonar-squid/src/main/java/org/sonar/squid/api/SourceCodeIndexer.java index 7eb78e6e74b..3eadd2e4862 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/SourceCodeIndexer.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/SourceCodeIndexer.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; public interface SourceCodeIndexer { diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/SourceCodeSearchEngine.java b/sonar-squid/src/main/java/org/sonar/squid/api/SourceCodeSearchEngine.java index f89afac0e85..2f9c682d1a2 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/SourceCodeSearchEngine.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/SourceCodeSearchEngine.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; import java.util.Collection; diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/SourceCodeTreeDecorator.java b/sonar-squid/src/main/java/org/sonar/squid/api/SourceCodeTreeDecorator.java index 933ab70708d..397a5de6fee 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/SourceCodeTreeDecorator.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/SourceCodeTreeDecorator.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; import org.sonar.squid.measures.MetricDef; diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/SourceFile.java b/sonar-squid/src/main/java/org/sonar/squid/api/SourceFile.java index bd0cb5b52a7..c80f59d1075 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/SourceFile.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/SourceFile.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; import java.util.HashSet; diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/SourceFunction.java b/sonar-squid/src/main/java/org/sonar/squid/api/SourceFunction.java index 5a0805d9a62..29f0c0116ed 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/SourceFunction.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/SourceFunction.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; public class SourceFunction extends SourceCode { diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/SourceMethod.java b/sonar-squid/src/main/java/org/sonar/squid/api/SourceMethod.java index 60eab9faf2a..f41ace8aea1 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/SourceMethod.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/SourceMethod.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; import org.sonar.squid.measures.Metric; diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/SourcePackage.java b/sonar-squid/src/main/java/org/sonar/squid/api/SourcePackage.java index e7c025eb94e..469b46b71a8 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/SourcePackage.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/SourcePackage.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; public class SourcePackage extends SourceCode { diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/SourceProject.java b/sonar-squid/src/main/java/org/sonar/squid/api/SourceProject.java index 7d93421de12..9d627c641ce 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/SourceProject.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/SourceProject.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; public class SourceProject extends SourceCode { diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/SquidConfiguration.java b/sonar-squid/src/main/java/org/sonar/squid/api/SquidConfiguration.java index b6d36d390f9..eb8e4820e7e 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/SquidConfiguration.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/SquidConfiguration.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; import java.nio.charset.Charset; diff --git a/sonar-squid/src/main/java/org/sonar/squid/indexer/QueryByMeasure.java b/sonar-squid/src/main/java/org/sonar/squid/indexer/QueryByMeasure.java index f6b1cafec2c..df1bfebcd79 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/indexer/QueryByMeasure.java +++ b/sonar-squid/src/main/java/org/sonar/squid/indexer/QueryByMeasure.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.indexer; import org.sonar.squid.api.Query; diff --git a/sonar-squid/src/main/java/org/sonar/squid/indexer/QueryByName.java b/sonar-squid/src/main/java/org/sonar/squid/indexer/QueryByName.java index fb2a424b4f0..9c657661653 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/indexer/QueryByName.java +++ b/sonar-squid/src/main/java/org/sonar/squid/indexer/QueryByName.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.indexer; import org.sonar.squid.api.Query; diff --git a/sonar-squid/src/main/java/org/sonar/squid/indexer/QueryByParent.java b/sonar-squid/src/main/java/org/sonar/squid/indexer/QueryByParent.java index a9a155084c1..f902ee403b7 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/indexer/QueryByParent.java +++ b/sonar-squid/src/main/java/org/sonar/squid/indexer/QueryByParent.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.indexer; import org.sonar.squid.api.Query; diff --git a/sonar-squid/src/main/java/org/sonar/squid/indexer/QueryByType.java b/sonar-squid/src/main/java/org/sonar/squid/indexer/QueryByType.java index de52003613d..7b829f9285c 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/indexer/QueryByType.java +++ b/sonar-squid/src/main/java/org/sonar/squid/indexer/QueryByType.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.indexer; import org.sonar.squid.api.Query; diff --git a/sonar-squid/src/main/java/org/sonar/squid/indexer/SquidIndex.java b/sonar-squid/src/main/java/org/sonar/squid/indexer/SquidIndex.java index 10632ad7f9e..31369bfafff 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/indexer/SquidIndex.java +++ b/sonar-squid/src/main/java/org/sonar/squid/indexer/SquidIndex.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.indexer; import java.util.Collection; diff --git a/sonar-squid/src/main/java/org/sonar/squid/math/MeasuresDistribution.java b/sonar-squid/src/main/java/org/sonar/squid/math/MeasuresDistribution.java index b5b120a7e09..802e6900159 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/math/MeasuresDistribution.java +++ b/sonar-squid/src/main/java/org/sonar/squid/math/MeasuresDistribution.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.math; import java.util.Collection; diff --git a/sonar-squid/src/main/java/org/sonar/squid/measures/AbstractnessFormula.java b/sonar-squid/src/main/java/org/sonar/squid/measures/AbstractnessFormula.java index 23c1c7377a3..5ce74aa0fe9 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/measures/AbstractnessFormula.java +++ b/sonar-squid/src/main/java/org/sonar/squid/measures/AbstractnessFormula.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; public class AbstractnessFormula implements CalculatedMetricFormula { diff --git a/sonar-squid/src/main/java/org/sonar/squid/measures/AggregationFormula.java b/sonar-squid/src/main/java/org/sonar/squid/measures/AggregationFormula.java index 88b9dcb3d8c..81d9b1b0d50 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/measures/AggregationFormula.java +++ b/sonar-squid/src/main/java/org/sonar/squid/measures/AggregationFormula.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; import java.util.Collection; diff --git a/sonar-squid/src/main/java/org/sonar/squid/measures/CalculatedMetricFormula.java b/sonar-squid/src/main/java/org/sonar/squid/measures/CalculatedMetricFormula.java index a4880c858d8..bb58954f779 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/measures/CalculatedMetricFormula.java +++ b/sonar-squid/src/main/java/org/sonar/squid/measures/CalculatedMetricFormula.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; public interface CalculatedMetricFormula { diff --git a/sonar-squid/src/main/java/org/sonar/squid/measures/CommentLinesDensityFormula.java b/sonar-squid/src/main/java/org/sonar/squid/measures/CommentLinesDensityFormula.java index 56b5ab333f8..5444d2aa5bc 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/measures/CommentLinesDensityFormula.java +++ b/sonar-squid/src/main/java/org/sonar/squid/measures/CommentLinesDensityFormula.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; public class CommentLinesDensityFormula implements CalculatedMetricFormula { diff --git a/sonar-squid/src/main/java/org/sonar/squid/measures/CommentLinesWithoutHeaderFormula.java b/sonar-squid/src/main/java/org/sonar/squid/measures/CommentLinesWithoutHeaderFormula.java index 9bf67b92981..90959f8ca74 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/measures/CommentLinesWithoutHeaderFormula.java +++ b/sonar-squid/src/main/java/org/sonar/squid/measures/CommentLinesWithoutHeaderFormula.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; public class CommentLinesWithoutHeaderFormula implements CalculatedMetricFormula { diff --git a/sonar-squid/src/main/java/org/sonar/squid/measures/DistanceFormula.java b/sonar-squid/src/main/java/org/sonar/squid/measures/DistanceFormula.java index ea1ce094c98..f9779a029e6 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/measures/DistanceFormula.java +++ b/sonar-squid/src/main/java/org/sonar/squid/measures/DistanceFormula.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; public class DistanceFormula implements CalculatedMetricFormula { diff --git a/sonar-squid/src/main/java/org/sonar/squid/measures/InstabilityFormula.java b/sonar-squid/src/main/java/org/sonar/squid/measures/InstabilityFormula.java index f4b7c984a31..86e7ff6bd63 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/measures/InstabilityFormula.java +++ b/sonar-squid/src/main/java/org/sonar/squid/measures/InstabilityFormula.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; public class InstabilityFormula implements CalculatedMetricFormula { diff --git a/sonar-squid/src/main/java/org/sonar/squid/measures/MeanAggregationFormula.java b/sonar-squid/src/main/java/org/sonar/squid/measures/MeanAggregationFormula.java index b0f6c1d40af..7017c9bc8d8 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/measures/MeanAggregationFormula.java +++ b/sonar-squid/src/main/java/org/sonar/squid/measures/MeanAggregationFormula.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; import java.util.Collection; diff --git a/sonar-squid/src/main/java/org/sonar/squid/measures/Measurable.java b/sonar-squid/src/main/java/org/sonar/squid/measures/Measurable.java index c04525279d1..49faa0e6aab 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/measures/Measurable.java +++ b/sonar-squid/src/main/java/org/sonar/squid/measures/Measurable.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; public interface Measurable<T extends MetricDef> { diff --git a/sonar-squid/src/main/java/org/sonar/squid/measures/Measures.java b/sonar-squid/src/main/java/org/sonar/squid/measures/Measures.java index 12d2765ac76..9ee58e5e5e5 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/measures/Measures.java +++ b/sonar-squid/src/main/java/org/sonar/squid/measures/Measures.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; import java.util.IdentityHashMap; diff --git a/sonar-squid/src/main/java/org/sonar/squid/measures/Metric.java b/sonar-squid/src/main/java/org/sonar/squid/measures/Metric.java index 253e2ea5aa4..327abeb9e8a 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/measures/Metric.java +++ b/sonar-squid/src/main/java/org/sonar/squid/measures/Metric.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; public enum Metric implements MetricDef { diff --git a/sonar-squid/src/main/java/org/sonar/squid/measures/MetricDef.java b/sonar-squid/src/main/java/org/sonar/squid/measures/MetricDef.java index 660b32afa52..cc62b45dc43 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/measures/MetricDef.java +++ b/sonar-squid/src/main/java/org/sonar/squid/measures/MetricDef.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; public interface MetricDef { diff --git a/sonar-squid/src/main/java/org/sonar/squid/measures/NoAggregationFormula.java b/sonar-squid/src/main/java/org/sonar/squid/measures/NoAggregationFormula.java index 44609896f46..a1adb586ed8 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/measures/NoAggregationFormula.java +++ b/sonar-squid/src/main/java/org/sonar/squid/measures/NoAggregationFormula.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; import java.util.Collection; diff --git a/sonar-squid/src/main/java/org/sonar/squid/measures/PublicDocumentedApiDensityFormula.java b/sonar-squid/src/main/java/org/sonar/squid/measures/PublicDocumentedApiDensityFormula.java index a6ee6e906ea..34f6f2c6b24 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/measures/PublicDocumentedApiDensityFormula.java +++ b/sonar-squid/src/main/java/org/sonar/squid/measures/PublicDocumentedApiDensityFormula.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; public class PublicDocumentedApiDensityFormula implements CalculatedMetricFormula { diff --git a/sonar-squid/src/main/java/org/sonar/squid/measures/SumAggregationFormula.java b/sonar-squid/src/main/java/org/sonar/squid/measures/SumAggregationFormula.java index aface2e2d63..a66753a436e 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/measures/SumAggregationFormula.java +++ b/sonar-squid/src/main/java/org/sonar/squid/measures/SumAggregationFormula.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; import java.util.Collection; diff --git a/sonar-squid/src/main/java/org/sonar/squid/recognizer/CamelCaseDetector.java b/sonar-squid/src/main/java/org/sonar/squid/recognizer/CamelCaseDetector.java index 60e4c1d2027..665a0c7e416 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/recognizer/CamelCaseDetector.java +++ b/sonar-squid/src/main/java/org/sonar/squid/recognizer/CamelCaseDetector.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.recognizer; public class CamelCaseDetector extends Detector { diff --git a/sonar-squid/src/main/java/org/sonar/squid/recognizer/CodeRecognizer.java b/sonar-squid/src/main/java/org/sonar/squid/recognizer/CodeRecognizer.java index 7a8a1c14349..12e6324f305 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/recognizer/CodeRecognizer.java +++ b/sonar-squid/src/main/java/org/sonar/squid/recognizer/CodeRecognizer.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.recognizer; import java.util.ArrayList; diff --git a/sonar-squid/src/main/java/org/sonar/squid/recognizer/ContainsDetector.java b/sonar-squid/src/main/java/org/sonar/squid/recognizer/ContainsDetector.java index f0ac480594b..a0616a13175 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/recognizer/ContainsDetector.java +++ b/sonar-squid/src/main/java/org/sonar/squid/recognizer/ContainsDetector.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.recognizer; import java.util.Arrays; diff --git a/sonar-squid/src/main/java/org/sonar/squid/recognizer/Detector.java b/sonar-squid/src/main/java/org/sonar/squid/recognizer/Detector.java index 7fa1083b8a1..95a4db2dab0 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/recognizer/Detector.java +++ b/sonar-squid/src/main/java/org/sonar/squid/recognizer/Detector.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.recognizer; public abstract class Detector { diff --git a/sonar-squid/src/main/java/org/sonar/squid/recognizer/EndWithDetector.java b/sonar-squid/src/main/java/org/sonar/squid/recognizer/EndWithDetector.java index 066a35c2e5f..0b3cbe7a20c 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/recognizer/EndWithDetector.java +++ b/sonar-squid/src/main/java/org/sonar/squid/recognizer/EndWithDetector.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.recognizer; public class EndWithDetector extends Detector { diff --git a/sonar-squid/src/main/java/org/sonar/squid/recognizer/KeywordsDetector.java b/sonar-squid/src/main/java/org/sonar/squid/recognizer/KeywordsDetector.java index a4e708f8fe5..490c321a8c0 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/recognizer/KeywordsDetector.java +++ b/sonar-squid/src/main/java/org/sonar/squid/recognizer/KeywordsDetector.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.recognizer; import java.util.Arrays; diff --git a/sonar-squid/src/main/java/org/sonar/squid/recognizer/LanguageFootprint.java b/sonar-squid/src/main/java/org/sonar/squid/recognizer/LanguageFootprint.java index 469118a57b8..1d817ee11fc 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/recognizer/LanguageFootprint.java +++ b/sonar-squid/src/main/java/org/sonar/squid/recognizer/LanguageFootprint.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.recognizer; import java.util.Set; diff --git a/sonar-squid/src/main/java/org/sonar/squid/recognizer/RegexDetector.java b/sonar-squid/src/main/java/org/sonar/squid/recognizer/RegexDetector.java index 0ffa49303a5..304d9991a58 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/recognizer/RegexDetector.java +++ b/sonar-squid/src/main/java/org/sonar/squid/recognizer/RegexDetector.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.recognizer; import java.util.regex.Matcher; diff --git a/sonar-squid/src/main/java/org/sonar/squid/text/Line.java b/sonar-squid/src/main/java/org/sonar/squid/text/Line.java index ef633b4c79f..77add8235a4 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/text/Line.java +++ b/sonar-squid/src/main/java/org/sonar/squid/text/Line.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.text; import org.apache.commons.lang.StringUtils; diff --git a/sonar-squid/src/main/java/org/sonar/squid/text/LineContextHandler.java b/sonar-squid/src/main/java/org/sonar/squid/text/LineContextHandler.java index 097478c9f85..3cf490600a6 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/text/LineContextHandler.java +++ b/sonar-squid/src/main/java/org/sonar/squid/text/LineContextHandler.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.text; abstract class LineContextHandler { diff --git a/sonar-squid/src/main/java/org/sonar/squid/text/LinesFactory.java b/sonar-squid/src/main/java/org/sonar/squid/text/LinesFactory.java index 6e98de3da35..3314b5f953b 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/text/LinesFactory.java +++ b/sonar-squid/src/main/java/org/sonar/squid/text/LinesFactory.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.text; import java.io.BufferedReader; diff --git a/sonar-squid/src/main/java/org/sonar/squid/text/LiteralValueHandler.java b/sonar-squid/src/main/java/org/sonar/squid/text/LiteralValueHandler.java index 907c87827c9..802a421c35f 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/text/LiteralValueHandler.java +++ b/sonar-squid/src/main/java/org/sonar/squid/text/LiteralValueHandler.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.text; public class LiteralValueHandler extends LineContextHandler { diff --git a/sonar-squid/src/main/java/org/sonar/squid/text/MultiLinesCommentHandler.java b/sonar-squid/src/main/java/org/sonar/squid/text/MultiLinesCommentHandler.java index 5aeaadd12ce..1fa85a44d0b 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/text/MultiLinesCommentHandler.java +++ b/sonar-squid/src/main/java/org/sonar/squid/text/MultiLinesCommentHandler.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.text; public class MultiLinesCommentHandler extends LineContextHandler { diff --git a/sonar-squid/src/main/java/org/sonar/squid/text/SingleLineCommentHandler.java b/sonar-squid/src/main/java/org/sonar/squid/text/SingleLineCommentHandler.java index f20861a96d8..c9b2e9cabae 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/text/SingleLineCommentHandler.java +++ b/sonar-squid/src/main/java/org/sonar/squid/text/SingleLineCommentHandler.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.text; public class SingleLineCommentHandler extends LineContextHandler { diff --git a/sonar-squid/src/main/java/org/sonar/squid/text/Source.java b/sonar-squid/src/main/java/org/sonar/squid/text/Source.java index 5087aaba331..aab0d1ba237 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/text/Source.java +++ b/sonar-squid/src/main/java/org/sonar/squid/text/Source.java @@ -19,15 +19,15 @@ */ package org.sonar.squid.text; +import org.sonar.squid.measures.Metric; +import org.sonar.squid.recognizer.CodeRecognizer; + import java.io.Reader; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; -import org.sonar.squid.measures.Metric; -import org.sonar.squid.recognizer.CodeRecognizer; - public class Source { private List<Line> lines = new ArrayList<Line>(); diff --git a/sonar-squid/src/main/java/org/sonar/squid/text/StringArrayReader.java b/sonar-squid/src/main/java/org/sonar/squid/text/StringArrayReader.java index 1c923d0adc7..e079e427057 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/text/StringArrayReader.java +++ b/sonar-squid/src/main/java/org/sonar/squid/text/StringArrayReader.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.text; import java.io.IOException; diff --git a/sonar-squid/src/test/java/org/sonar/squid/api/CheckMessageTest.java b/sonar-squid/src/test/java/org/sonar/squid/api/CheckMessageTest.java index 1f7e5734918..6c2a6e6d43e 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/api/CheckMessageTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/api/CheckMessageTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; import static org.hamcrest.Matchers.is; diff --git a/sonar-squid/src/test/java/org/sonar/squid/api/SourceCodeTest.java b/sonar-squid/src/test/java/org/sonar/squid/api/SourceCodeTest.java index 471a6b4d82a..37011a6c95d 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/api/SourceCodeTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/api/SourceCodeTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; import org.junit.Before; diff --git a/sonar-squid/src/test/java/org/sonar/squid/api/SourceCodeTreeDecoratorTest.java b/sonar-squid/src/test/java/org/sonar/squid/api/SourceCodeTreeDecoratorTest.java index 71f9c7073c8..6e1b1e705a7 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/api/SourceCodeTreeDecoratorTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/api/SourceCodeTreeDecoratorTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; import org.junit.Test; diff --git a/sonar-squid/src/test/java/org/sonar/squid/api/SourceFileTest.java b/sonar-squid/src/test/java/org/sonar/squid/api/SourceFileTest.java index bae9c06c464..8508dcca691 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/api/SourceFileTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/api/SourceFileTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; import java.util.HashSet; diff --git a/sonar-squid/src/test/java/org/sonar/squid/api/SourceMethodTest.java b/sonar-squid/src/test/java/org/sonar/squid/api/SourceMethodTest.java index bb8183cbccb..b71bb5ffd25 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/api/SourceMethodTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/api/SourceMethodTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.api; import org.junit.Test; diff --git a/sonar-squid/src/test/java/org/sonar/squid/indexer/SquidIndexTest.java b/sonar-squid/src/test/java/org/sonar/squid/indexer/SquidIndexTest.java index 1d19632c9eb..c8fe1b30d86 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/indexer/SquidIndexTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/indexer/SquidIndexTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.indexer; import java.util.Collection; diff --git a/sonar-squid/src/test/java/org/sonar/squid/math/MeasuresDistributionTest.java b/sonar-squid/src/test/java/org/sonar/squid/math/MeasuresDistributionTest.java index b18003ee3f7..cfdd027b538 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/math/MeasuresDistributionTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/math/MeasuresDistributionTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.math; import org.junit.Before; diff --git a/sonar-squid/src/test/java/org/sonar/squid/measures/AbstractnessFormulaTest.java b/sonar-squid/src/test/java/org/sonar/squid/measures/AbstractnessFormulaTest.java index 11515a56d3d..c33e2cdeac4 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/measures/AbstractnessFormulaTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/measures/AbstractnessFormulaTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; import org.junit.Test; diff --git a/sonar-squid/src/test/java/org/sonar/squid/measures/CommentLinesDensityFormulaTest.java b/sonar-squid/src/test/java/org/sonar/squid/measures/CommentLinesDensityFormulaTest.java index fb6129ee27f..885c3ca05d2 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/measures/CommentLinesDensityFormulaTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/measures/CommentLinesDensityFormulaTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; import org.junit.Test; diff --git a/sonar-squid/src/test/java/org/sonar/squid/measures/CommentLinesWithoutHeaderFormulaTest.java b/sonar-squid/src/test/java/org/sonar/squid/measures/CommentLinesWithoutHeaderFormulaTest.java index 2d505d04255..1731d094f3c 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/measures/CommentLinesWithoutHeaderFormulaTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/measures/CommentLinesWithoutHeaderFormulaTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; import org.junit.Test; diff --git a/sonar-squid/src/test/java/org/sonar/squid/measures/DistanceFormulaTest.java b/sonar-squid/src/test/java/org/sonar/squid/measures/DistanceFormulaTest.java index fb4bd38893a..5ef13c813d4 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/measures/DistanceFormulaTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/measures/DistanceFormulaTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; import org.junit.Test; diff --git a/sonar-squid/src/test/java/org/sonar/squid/measures/InstabilityFormulaTest.java b/sonar-squid/src/test/java/org/sonar/squid/measures/InstabilityFormulaTest.java index 110cb641399..932b23644b4 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/measures/InstabilityFormulaTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/measures/InstabilityFormulaTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; import org.junit.Test; diff --git a/sonar-squid/src/test/java/org/sonar/squid/measures/MeanAggregationFormulaTest.java b/sonar-squid/src/test/java/org/sonar/squid/measures/MeanAggregationFormulaTest.java index 498b91bb272..9fe3fea8338 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/measures/MeanAggregationFormulaTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/measures/MeanAggregationFormulaTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; import java.util.ArrayList; diff --git a/sonar-squid/src/test/java/org/sonar/squid/measures/MeasuresTest.java b/sonar-squid/src/test/java/org/sonar/squid/measures/MeasuresTest.java index ab5b477a493..9712fb8dea9 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/measures/MeasuresTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/measures/MeasuresTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; import org.junit.Test; diff --git a/sonar-squid/src/test/java/org/sonar/squid/measures/PublicDocumentedApiDensityFormulaTest.java b/sonar-squid/src/test/java/org/sonar/squid/measures/PublicDocumentedApiDensityFormulaTest.java index 4e2af0ad764..c27defbd260 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/measures/PublicDocumentedApiDensityFormulaTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/measures/PublicDocumentedApiDensityFormulaTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; import org.junit.Test; diff --git a/sonar-squid/src/test/java/org/sonar/squid/measures/SumAggregationFormulaTest.java b/sonar-squid/src/test/java/org/sonar/squid/measures/SumAggregationFormulaTest.java index 2c74c53ce2e..10f74336a1c 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/measures/SumAggregationFormulaTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/measures/SumAggregationFormulaTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.measures; import java.util.ArrayList; diff --git a/sonar-squid/src/test/java/org/sonar/squid/recognizer/CamelCaseDetectorTest.java b/sonar-squid/src/test/java/org/sonar/squid/recognizer/CamelCaseDetectorTest.java index 1655aa49005..a30031de250 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/recognizer/CamelCaseDetectorTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/recognizer/CamelCaseDetectorTest.java @@ -1,3 +1,23 @@ +/* + * Sonar, open source software quality management tool. + * Copyright (C) 2009 SonarSource SA + * mailto:contact AT sonarsource DOT com + * + * Sonar is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * Sonar is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with Sonar; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 + */ + package org.sonar.squid.recognizer; import org.junit.Test; diff --git a/sonar-squid/src/test/java/org/sonar/squid/recognizer/ContainsDetectorTest.java b/sonar-squid/src/test/java/org/sonar/squid/recognizer/ContainsDetectorTest.java index f2e25e26a35..297dc6aa311 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/recognizer/ContainsDetectorTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/recognizer/ContainsDetectorTest.java @@ -1,3 +1,23 @@ +/* + * Sonar, open source software quality management tool. + * Copyright (C) 2009 SonarSource SA + * mailto:contact AT sonarsource DOT com + * + * Sonar is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * Sonar is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with Sonar; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 + */ + package org.sonar.squid.recognizer; import static org.junit.Assert.assertEquals; diff --git a/sonar-squid/src/test/java/org/sonar/squid/recognizer/EndWithDetectorTest.java b/sonar-squid/src/test/java/org/sonar/squid/recognizer/EndWithDetectorTest.java index 2df5831f1db..87e64bf27be 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/recognizer/EndWithDetectorTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/recognizer/EndWithDetectorTest.java @@ -1,3 +1,23 @@ +/* + * Sonar, open source software quality management tool. + * Copyright (C) 2009 SonarSource SA + * mailto:contact AT sonarsource DOT com + * + * Sonar is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * Sonar is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with Sonar; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 + */ + package org.sonar.squid.recognizer; import org.junit.Test; diff --git a/sonar-squid/src/test/java/org/sonar/squid/recognizer/KeywordsDetectorTest.java b/sonar-squid/src/test/java/org/sonar/squid/recognizer/KeywordsDetectorTest.java index fde4f343b6e..59c9ad20b5b 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/recognizer/KeywordsDetectorTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/recognizer/KeywordsDetectorTest.java @@ -1,3 +1,23 @@ +/* + * Sonar, open source software quality management tool. + * Copyright (C) 2009 SonarSource SA + * mailto:contact AT sonarsource DOT com + * + * Sonar is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * Sonar is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with Sonar; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 + */ + package org.sonar.squid.recognizer; import org.junit.Test; diff --git a/sonar-squid/src/test/java/org/sonar/squid/recognizer/RegexDetectorTest.java b/sonar-squid/src/test/java/org/sonar/squid/recognizer/RegexDetectorTest.java index a032916b1be..baa54880b39 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/recognizer/RegexDetectorTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/recognizer/RegexDetectorTest.java @@ -1,3 +1,23 @@ +/* + * Sonar, open source software quality management tool. + * Copyright (C) 2009 SonarSource SA + * mailto:contact AT sonarsource DOT com + * + * Sonar is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * Sonar is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with Sonar; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 + */ + package org.sonar.squid.recognizer; import org.junit.Test; diff --git a/sonar-squid/src/test/java/org/sonar/squid/text/JavaFootprint.java b/sonar-squid/src/test/java/org/sonar/squid/text/JavaFootprint.java index dd50cdd3a4d..847cf7d54f3 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/text/JavaFootprint.java +++ b/sonar-squid/src/test/java/org/sonar/squid/text/JavaFootprint.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.text; import org.sonar.squid.recognizer.*; diff --git a/sonar-squid/src/test/java/org/sonar/squid/text/LineTest.java b/sonar-squid/src/test/java/org/sonar/squid/text/LineTest.java index e385d50298d..def19bedb2d 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/text/LineTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/text/LineTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.text; import org.junit.Test; diff --git a/sonar-squid/src/test/java/org/sonar/squid/text/LinesFactoryTest.java b/sonar-squid/src/test/java/org/sonar/squid/text/LinesFactoryTest.java index 130d7990862..4fd09f00981 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/text/LinesFactoryTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/text/LinesFactoryTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.text; import org.junit.Test; diff --git a/sonar-squid/src/test/java/org/sonar/squid/text/LiteralValueHandlerTest.java b/sonar-squid/src/test/java/org/sonar/squid/text/LiteralValueHandlerTest.java index b91af09540b..aceab76bc8b 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/text/LiteralValueHandlerTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/text/LiteralValueHandlerTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.text; import org.junit.Test; diff --git a/sonar-squid/src/test/java/org/sonar/squid/text/MultiLineCommentHandlerTest.java b/sonar-squid/src/test/java/org/sonar/squid/text/MultiLineCommentHandlerTest.java index 493b9654d6c..9091ce87e9d 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/text/MultiLineCommentHandlerTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/text/MultiLineCommentHandlerTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.text; import org.junit.Test; diff --git a/sonar-squid/src/test/java/org/sonar/squid/text/SingleLineCommentHandlerTest.java b/sonar-squid/src/test/java/org/sonar/squid/text/SingleLineCommentHandlerTest.java index 70961a3e625..940ab4aaf4b 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/text/SingleLineCommentHandlerTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/text/SingleLineCommentHandlerTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.text; import org.junit.Test; diff --git a/sonar-squid/src/test/java/org/sonar/squid/text/SourceTest.java b/sonar-squid/src/test/java/org/sonar/squid/text/SourceTest.java index 73d96313f37..78264e00598 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/text/SourceTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/text/SourceTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.text; import org.junit.Test; diff --git a/sonar-squid/src/test/java/org/sonar/squid/text/StringArrayReaderTest.java b/sonar-squid/src/test/java/org/sonar/squid/text/StringArrayReaderTest.java index b07d05accf6..4afb0209580 100644 --- a/sonar-squid/src/test/java/org/sonar/squid/text/StringArrayReaderTest.java +++ b/sonar-squid/src/test/java/org/sonar/squid/text/StringArrayReaderTest.java @@ -17,6 +17,7 @@ * License along with Sonar; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 */ + package org.sonar.squid.text; import org.junit.Test; |