aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-squid
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2012-05-25 10:15:23 +0200
committerDavid Gageot <david@gageot.net>2012-05-25 11:17:22 +0200
commit2f751bd1fa0fc9202f73d3ba165af02182e17b0c (patch)
treed1c4dab703f3b62a86503ef5dc154997faa4ebae /sonar-squid
parent06d5b65b5ef22119ee9e48216c211bbb8832c53e (diff)
downloadsonarqube-2f751bd1fa0fc9202f73d3ba165af02182e17b0c.tar.gz
sonarqube-2f751bd1fa0fc9202f73d3ba165af02182e17b0c.zip
Suppress warnings
Diffstat (limited to 'sonar-squid')
-rw-r--r--sonar-squid/src/test/java/org/sonar/squid/measures/AbstractnessFormulaTest.java2
-rw-r--r--sonar-squid/src/test/java/org/sonar/squid/measures/CommentLinesDensityFormulaTest.java2
-rw-r--r--sonar-squid/src/test/java/org/sonar/squid/measures/CommentLinesWithoutHeaderFormulaTest.java2
-rw-r--r--sonar-squid/src/test/java/org/sonar/squid/measures/DistanceFormulaTest.java2
-rw-r--r--sonar-squid/src/test/java/org/sonar/squid/measures/InstabilityFormulaTest.java2
-rw-r--r--sonar-squid/src/test/java/org/sonar/squid/measures/PublicDocumentedApiDensityFormulaTest.java2
6 files changed, 6 insertions, 6 deletions
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 a3705488374..6d4eff9827d 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
@@ -30,7 +30,7 @@ import static org.junit.Assert.assertEquals;
public class AbstractnessFormulaTest {
AbstractnessFormula abstractness = new AbstractnessFormula();
- Measurable<Metric> measurable = new SourcePackage("pac1");
+ SourcePackage measurable = new SourcePackage("pac1");
@Test
public void testCalculate() {
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 496d62ce963..0cebec786c5 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
@@ -28,7 +28,7 @@ import static org.junit.Assert.*;
public class CommentLinesDensityFormulaTest {
CommentLinesDensityFormula formula = new CommentLinesDensityFormula();
- Measurable<Metric> measurable = new SourceClass("com.Toto");
+ SourceClass measurable = new SourceClass("com.Toto");
@Test
public void calculateDensityOnEmptyFile() {
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 9fb255e3e2c..968fd469bd8 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
@@ -28,7 +28,7 @@ import static org.junit.Assert.assertEquals;
public class CommentLinesWithoutHeaderFormulaTest {
CommentLinesWithoutHeaderFormula formula = new CommentLinesWithoutHeaderFormula();
- Measurable<Metric> measurable = new SourceClass("com.Toto");
+ SourceClass measurable = new SourceClass("com.Toto");
@Test
public void calculateDensityOnEmptyFile() {
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 406fb261171..8a2d95cb6e2 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
@@ -28,7 +28,7 @@ import static org.junit.Assert.assertEquals;
public class DistanceFormulaTest {
DistanceFormula distance = new DistanceFormula();
- Measurable<Metric> measurable = new SourcePackage("pac1");
+ SourcePackage measurable = new SourcePackage("pac1");
@Test
public void calculateBestDistance() {
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 92f3aca2ace..c8c854ad29e 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
@@ -28,7 +28,7 @@ import static org.junit.Assert.assertEquals;
public class InstabilityFormulaTest {
InstabilityFormula distance = new InstabilityFormula();
- Measurable<Metric> measurable = new SourcePackage("pac1");
+ SourcePackage measurable = new SourcePackage("pac1");
@Test
public void calculateBestStability() {
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 bfc38bba206..c17e556ea59 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
@@ -28,7 +28,7 @@ import static org.junit.Assert.*;
public class PublicDocumentedApiDensityFormulaTest {
PublicDocumentedApiDensityFormula formula = new PublicDocumentedApiDensityFormula();
- Measurable<Metric> measurable = new SourceClass("com.Toto");
+ SourceClass measurable = new SourceClass("com.Toto");
@Test
public void calculateWhenNoPublicApi() {