Skip to content

Commit

Permalink
MAT-5567 exclude cql package from checkstyle as most of the classes a…
Browse files Browse the repository at this point in the history
…re antlr generated or from MAT
  • Loading branch information
adongare committed May 26, 2023
1 parent ef91c41 commit ed3e9d1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
// }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ void testGetSourceDataCriteriaWhenNoSourceCriteriaFound() {
@Test
void testGetSourceDataCriteriaWhenNoCqlProvided() {
List<SourceDataCriteria> sourceDataCriteria =
dataCriteriaService.getSourceDataCriteria("", token);
dataCriteriaService.getSourceDataCriteria("", token);
assertThat(sourceDataCriteria.size(), is(equalTo(0)));
}
}
8 changes: 7 additions & 1 deletion suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@

<suppressions>
<suppress checks="FileLength"
files="ParameterHandler.java"
files="gov/cms/mat/cql_elm_translation/utils/cql/"
/>
<suppress checks="MethodLength"
files="gov/cms/mat/cql_elm_translation/utils/cql/"
/>
<suppress checks="NeedBraces"
files="gov/cms/mat/cql_elm_translation/utils/cql/"
/>
</suppressions>

0 comments on commit ed3e9d1

Please sign in to comment.