Skip to content

Commit

Permalink
java17 to java11
Browse files Browse the repository at this point in the history
  • Loading branch information
d-bernat committed Oct 9, 2024
1 parent 170cf78 commit ed47aaa
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ private void addCategoryOptionComboDimensionToDataQueryParamBuilder(
.getCategoryOptionCombo()
.getUid()
.equals(coc.getUid())))
.toList();
.collect(toList());

if (!dimensionCategoryOptionCombos.isEmpty()) {
builder.addDimension(
Expand Down Expand Up @@ -848,7 +848,7 @@ private void addCategoryOptionComboFilterToDataQueryParamBuilder(
.getCategoryOptionCombo()
.getUid()
.equals(coc.getUid())))
.toList();
.collect(toList());

if (!filterCategoryOptionCombos.isEmpty()) {
builder.addFilter(
Expand Down Expand Up @@ -880,7 +880,7 @@ private void addAttributeOptionComboDimensionToDataQueryParamBuilder(
.getAttributeOptionCombo()
.getUid()
.equals(aoc.getUid())))
.toList();
.collect(toList());

if (!dimensionAttributeOptionCombos.isEmpty()) {
builder.addDimension(
Expand Down Expand Up @@ -912,7 +912,7 @@ private void addAttributeOptionComboFilterToDataQueryParamBuilder(
.getAttributeOptionCombo()
.getUid()
.equals(aoc.getUid())))
.toList();
.collect(toList());

if (!filterAttributeOptionCombos.isEmpty()) {
builder.addFilter(
Expand Down Expand Up @@ -944,7 +944,7 @@ private void addDataElementDimensionToDataQueryParamBuilder(
.getDataElement()
.getUid()
.equals(de.getUid())))
.toList();
.collect(toList());
if (!dimensionDataElements.isEmpty()) {
builder.addDimension(new BaseDimensionalObject(DATA_X_DIM_ID, DATA_X, dimensionDataElements));
}
Expand Down Expand Up @@ -972,7 +972,7 @@ private void addDataElementFilterToDataQueryParamBuilder(
.getDataElement()
.getUid()
.equals(de.getUid())))
.toList();
.collect(toList());
if (!filterDataElements.isEmpty()) {
builder.addFilter(new BaseDimensionalObject(DATA_X_DIM_ID, DATA_X, filterDataElements));
}
Expand Down

0 comments on commit ed47aaa

Please sign in to comment.