Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
Cpaulyz committed Oct 19, 2023
1 parent 61a0b67 commit 132ec83
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,18 +256,18 @@ private void loadProps() {
config.setTAG_VALUE_PREFIX(
properties.getProperty("TAG_VALUE_PREFIX", config.getTAG_VALUE_PREFIX()));
config.setTAG_VALUE_CARDINALITY(
Arrays.stream(
properties
.getProperty(
"TAG_VALUE_CARDINALITY",
config.getTAG_VALUE_CARDINALITY().stream()
.map(Object::toString)
.collect(Collectors.joining(",")))
.split(","))
.filter(s -> !s.isEmpty())
.mapToInt(Integer::parseInt)
.boxed()
.collect(Collectors.toList()));
Arrays.stream(
properties
.getProperty(
"TAG_VALUE_CARDINALITY",
config.getTAG_VALUE_CARDINALITY().stream()
.map(Object::toString)
.collect(Collectors.joining(",")))
.split(","))
.filter(s -> !s.isEmpty())
.mapToInt(Integer::parseInt)
.boxed()
.collect(Collectors.toList()));
config.setBENCHMARK_CLUSTER(
Boolean.parseBoolean(
properties.getProperty("BENCHMARK_CLUSTER", config.isBENCHMARK_CLUSTER() + "")));
Expand Down

0 comments on commit 132ec83

Please sign in to comment.