You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@giraph.apache.org by ed...@apache.org on 2015/11/18 20:58:20 UTC

git commit: updated refs/heads/trunk to 3d51e77

Repository: giraph
Updated Branches:
  refs/heads/trunk c32f465d4 -> 3d51e770c


Make IntSupplier extend Serializable

Summary: Lambdas with IntSuppliers don't get serialized.

Test Plan: n/a

Reviewers: ikabiljo, sergey.edunov

Reviewed By: sergey.edunov

Differential Revision: https://reviews.facebook.net/D50973


Project: http://git-wip-us.apache.org/repos/asf/giraph/repo
Commit: http://git-wip-us.apache.org/repos/asf/giraph/commit/3d51e770
Tree: http://git-wip-us.apache.org/repos/asf/giraph/tree/3d51e770
Diff: http://git-wip-us.apache.org/repos/asf/giraph/diff/3d51e770

Branch: refs/heads/trunk
Commit: 3d51e770c28b404ac119acd7c108ba174251a929
Parents: c32f465
Author: Sergey Edunov <ed...@fb.com>
Authored: Wed Nov 18 11:58:11 2015 -0800
Committer: Sergey Edunov <ed...@fb.com>
Committed: Wed Nov 18 11:58:11 2015 -0800

----------------------------------------------------------------------
 .../java/org/apache/giraph/function/primitive/IntSupplier.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/giraph/blob/3d51e770/giraph-block-app/src/main/java/org/apache/giraph/function/primitive/IntSupplier.java
----------------------------------------------------------------------
diff --git a/giraph-block-app/src/main/java/org/apache/giraph/function/primitive/IntSupplier.java b/giraph-block-app/src/main/java/org/apache/giraph/function/primitive/IntSupplier.java
index 2cf74e1..d709895 100644
--- a/giraph-block-app/src/main/java/org/apache/giraph/function/primitive/IntSupplier.java
+++ b/giraph-block-app/src/main/java/org/apache/giraph/function/primitive/IntSupplier.java
@@ -17,11 +17,13 @@
  */
 package org.apache.giraph.function.primitive;
 
+import java.io.Serializable;
+
 /**
  * Primitive specialization of Function:
  * () -> int
  */
-public interface IntSupplier {
+public interface IntSupplier extends Serializable {
   /** Retrieves an int value. */
   int get();
 }