From 17d90b7aae5753e2bd0871528fa1f64ba6823d0c Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 5 Feb 2014 10:09:38 +0100 Subject: [PATCH] Move CoberturaReportParserUtils to sonar-deprecated --- .../java/org/sonar/api/utils/CoberturaReportParserUtils.java | 2 +- .../org/sonar/api/utils/CoberturaReportParserUtilsTest.java | 0 .../CoberturaReportParserUtilsTest/commons-chain-coverage.xml | 0 .../shouldInsertCoverageAtFileLevel/coverage.xml | 0 .../shouldNotCountTwiceAnonymousClasses.xml | 0 5 files changed, 1 insertion(+), 1 deletion(-) rename {sonar-plugin-api => sonar-deprecated}/src/main/java/org/sonar/api/utils/CoberturaReportParserUtils.java (98%) rename {sonar-plugin-api => sonar-deprecated}/src/test/java/org/sonar/api/utils/CoberturaReportParserUtilsTest.java (100%) rename {sonar-plugin-api => sonar-deprecated}/src/test/resources/org/sonar/api/utils/CoberturaReportParserUtilsTest/commons-chain-coverage.xml (100%) rename {sonar-plugin-api => sonar-deprecated}/src/test/resources/org/sonar/api/utils/CoberturaReportParserUtilsTest/shouldInsertCoverageAtFileLevel/coverage.xml (100%) rename {sonar-plugin-api => sonar-deprecated}/src/test/resources/org/sonar/api/utils/CoberturaReportParserUtilsTest/shouldNotCountTwiceAnonymousClasses.xml (100%) diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/utils/CoberturaReportParserUtils.java b/sonar-deprecated/src/main/java/org/sonar/api/utils/CoberturaReportParserUtils.java similarity index 98% rename from sonar-plugin-api/src/main/java/org/sonar/api/utils/CoberturaReportParserUtils.java rename to sonar-deprecated/src/main/java/org/sonar/api/utils/CoberturaReportParserUtils.java index 1fc0bd38448..4099d3a7a50 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/utils/CoberturaReportParserUtils.java +++ b/sonar-deprecated/src/main/java/org/sonar/api/utils/CoberturaReportParserUtils.java @@ -40,7 +40,7 @@ import static org.sonar.api.utils.ParsingUtils.parseNumber; /** * @since 3.7 - * @deprecated since 4.2 should be handled by language plugins + * @deprecated in 4.2. This class should be handled internally by plugins */ @Deprecated public class CoberturaReportParserUtils { diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/utils/CoberturaReportParserUtilsTest.java b/sonar-deprecated/src/test/java/org/sonar/api/utils/CoberturaReportParserUtilsTest.java similarity index 100% rename from sonar-plugin-api/src/test/java/org/sonar/api/utils/CoberturaReportParserUtilsTest.java rename to sonar-deprecated/src/test/java/org/sonar/api/utils/CoberturaReportParserUtilsTest.java diff --git a/sonar-plugin-api/src/test/resources/org/sonar/api/utils/CoberturaReportParserUtilsTest/commons-chain-coverage.xml b/sonar-deprecated/src/test/resources/org/sonar/api/utils/CoberturaReportParserUtilsTest/commons-chain-coverage.xml similarity index 100% rename from sonar-plugin-api/src/test/resources/org/sonar/api/utils/CoberturaReportParserUtilsTest/commons-chain-coverage.xml rename to sonar-deprecated/src/test/resources/org/sonar/api/utils/CoberturaReportParserUtilsTest/commons-chain-coverage.xml diff --git a/sonar-plugin-api/src/test/resources/org/sonar/api/utils/CoberturaReportParserUtilsTest/shouldInsertCoverageAtFileLevel/coverage.xml b/sonar-deprecated/src/test/resources/org/sonar/api/utils/CoberturaReportParserUtilsTest/shouldInsertCoverageAtFileLevel/coverage.xml similarity index 100% rename from sonar-plugin-api/src/test/resources/org/sonar/api/utils/CoberturaReportParserUtilsTest/shouldInsertCoverageAtFileLevel/coverage.xml rename to sonar-deprecated/src/test/resources/org/sonar/api/utils/CoberturaReportParserUtilsTest/shouldInsertCoverageAtFileLevel/coverage.xml diff --git a/sonar-plugin-api/src/test/resources/org/sonar/api/utils/CoberturaReportParserUtilsTest/shouldNotCountTwiceAnonymousClasses.xml b/sonar-deprecated/src/test/resources/org/sonar/api/utils/CoberturaReportParserUtilsTest/shouldNotCountTwiceAnonymousClasses.xml similarity index 100% rename from sonar-plugin-api/src/test/resources/org/sonar/api/utils/CoberturaReportParserUtilsTest/shouldNotCountTwiceAnonymousClasses.xml rename to sonar-deprecated/src/test/resources/org/sonar/api/utils/CoberturaReportParserUtilsTest/shouldNotCountTwiceAnonymousClasses.xml -- 2.39.5