You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@edgent.apache.org by dl...@apache.org on 2016/05/04 21:02:32 UTC
[1/2] incubator-quarks git commit: [QUARKS-165] fix
roundRobinSplitter() signature
Repository: incubator-quarks
Updated Branches:
refs/heads/master 9589cc023 -> 55a4924aa
[QUARKS-165] fix roundRobinSplitter() signature
Project: http://git-wip-us.apache.org/repos/asf/incubator-quarks/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quarks/commit/7024b73a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quarks/tree/7024b73a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quarks/diff/7024b73a
Branch: refs/heads/master
Commit: 7024b73a8ff3dfaa21f52ac496c36b44e7774b83
Parents: 6ab4628
Author: Dale LaBossiere <dl...@us.ibm.com>
Authored: Wed May 4 15:20:30 2016 -0400
Committer: Dale LaBossiere <dl...@us.ibm.com>
Committed: Wed May 4 15:20:30 2016 -0400
----------------------------------------------------------------------
.../src/main/java/quarks/topology/plumbing/PlumbingStreams.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/7024b73a/api/topology/src/main/java/quarks/topology/plumbing/PlumbingStreams.java
----------------------------------------------------------------------
diff --git a/api/topology/src/main/java/quarks/topology/plumbing/PlumbingStreams.java b/api/topology/src/main/java/quarks/topology/plumbing/PlumbingStreams.java
index f33651b..ad6367a 100644
--- a/api/topology/src/main/java/quarks/topology/plumbing/PlumbingStreams.java
+++ b/api/topology/src/main/java/quarks/topology/plumbing/PlumbingStreams.java
@@ -528,7 +528,7 @@ public class PlumbingStreams {
* @see TStream#split(int, ToIntFunction) TStream.split
* @see PlumbingStreams#parallel(TStream, int, ToIntFunction, BiFunction) parallel
*/
- public static ToIntFunction<Double> roundRobinSplitter(int width) {
+ public static <T> ToIntFunction<T> roundRobinSplitter(int width) {
AtomicInteger cnt = new AtomicInteger();
return tuple -> cnt.getAndIncrement() % width;
}
[2/2] incubator-quarks git commit: Merge pull request #107
Posted by dl...@apache.org.
Merge pull request #107
This closes #107
Project: http://git-wip-us.apache.org/repos/asf/incubator-quarks/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quarks/commit/55a4924a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quarks/tree/55a4924a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quarks/diff/55a4924a
Branch: refs/heads/master
Commit: 55a4924aa4a960b6a360c424beecce968c0ddb1f
Parents: 9589cc0 7024b73
Author: Dale LaBossiere <dl...@us.ibm.com>
Authored: Wed May 4 17:02:23 2016 -0400
Committer: Dale LaBossiere <dl...@us.ibm.com>
Committed: Wed May 4 17:02:23 2016 -0400
----------------------------------------------------------------------
.../src/main/java/quarks/topology/plumbing/PlumbingStreams.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------