You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by cs...@apache.org on 2019/09/17 07:49:53 UTC
[aries-component-dsl] 05/05: Source format
This is an automated email from the ASF dual-hosted git repository.
csierra pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/aries-component-dsl.git
commit e85a373ca0c1e6b3daaa737d415e8aadaa7e4c50
Author: Carlos Sierra <ca...@liferay.com>
AuthorDate: Mon Sep 16 17:47:16 2019 +0200
Source format
---
component-dsl/src/main/java/org/apache/aries/component/dsl/Utils.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/component-dsl/src/main/java/org/apache/aries/component/dsl/Utils.java b/component-dsl/src/main/java/org/apache/aries/component/dsl/Utils.java
index b5b2e93..db29d5d 100644
--- a/component-dsl/src/main/java/org/apache/aries/component/dsl/Utils.java
+++ b/component-dsl/src/main/java/org/apache/aries/component/dsl/Utils.java
@@ -59,7 +59,8 @@ public interface Utils {
program.splitBy(
keyFun,
(k, p) ->
- highest(p, Comparator.naturalOrder(), q -> OSGi.nothing()).
+ highest(
+ p, Comparator.naturalOrder(), q -> OSGi.nothing()).
flatMap(t ->
valueFun.apply(t).effects(
v -> map.put(k, v),