From ed3e9d1290a37a6791947c8328a13d4a2af4070e Mon Sep 17 00:00:00 2001 From: adongare Date: Fri, 26 May 2023 08:42:12 -0400 Subject: [PATCH] MAT-5567 exclude cql package from checkstyle as most of the classes are antlr generated or from MAT --- .../cql_elm_translation/utils/cql/CQLUtilityClass.java | 3 ++- .../service/DataCriteriaServiceTest.java | 2 +- suppressions.xml | 8 +++++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/main/java/gov/cms/mat/cql_elm_translation/utils/cql/CQLUtilityClass.java b/src/main/java/gov/cms/mat/cql_elm_translation/utils/cql/CQLUtilityClass.java index 86c939b2..fcb162c5 100644 --- a/src/main/java/gov/cms/mat/cql_elm_translation/utils/cql/CQLUtilityClass.java +++ b/src/main/java/gov/cms/mat/cql_elm_translation/utils/cql/CQLUtilityClass.java @@ -423,7 +423,8 @@ public static String getWhiteSpaceString(boolean isSpaces, int indentSize) { // for (CQLIncludeLibrary includeLib : includeLibList) { // sb.append("include ").append(includeLib.getCqlLibraryName()); // - // sb.append(VERSION).append("'").append(MeasureUtility.formatVersionText(includeLib.getVersion())).append("' "); + // sb.append(VERSION).append("'") + // .append(MeasureUtility.formatVersionText(includeLib.getVersion())).append("' "); // sb.append("called ").append(includeLib.getAliasName()); // sb.append("\n"); // } diff --git a/src/test/java/gov/cms/mat/cql_elm_translation/service/DataCriteriaServiceTest.java b/src/test/java/gov/cms/mat/cql_elm_translation/service/DataCriteriaServiceTest.java index 0c8e8d68..922d6b56 100644 --- a/src/test/java/gov/cms/mat/cql_elm_translation/service/DataCriteriaServiceTest.java +++ b/src/test/java/gov/cms/mat/cql_elm_translation/service/DataCriteriaServiceTest.java @@ -117,7 +117,7 @@ void testGetSourceDataCriteriaWhenNoSourceCriteriaFound() { @Test void testGetSourceDataCriteriaWhenNoCqlProvided() { List sourceDataCriteria = - dataCriteriaService.getSourceDataCriteria("", token); + dataCriteriaService.getSourceDataCriteria("", token); assertThat(sourceDataCriteria.size(), is(equalTo(0))); } } diff --git a/suppressions.xml b/suppressions.xml index 7d102f56..47c18d0c 100644 --- a/suppressions.xml +++ b/suppressions.xml @@ -6,6 +6,12 @@ + + \ No newline at end of file