You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by ss...@apache.org on 2013/12/20 18:36:48 UTC
git commit: make IntArray serializable
Updated Branches:
refs/heads/develop 4f1636355 -> 3db71241d
make IntArray serializable
Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/3db71241
Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/3db71241
Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/3db71241
Branch: refs/heads/develop
Commit: 3db71241da118438a71d3b884d501699f44c8091
Parents: 4f16363
Author: Sebastian Schaffert <ss...@apache.org>
Authored: Fri Dec 20 18:36:43 2013 +0100
Committer: Sebastian Schaffert <ss...@apache.org>
Committed: Fri Dec 20 18:36:43 2013 +0100
----------------------------------------------------------------------
.../org/apache/marmotta/commons/sesame/tripletable/IntArray.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/marmotta/blob/3db71241/commons/sesame-tripletable/src/main/java/org/apache/marmotta/commons/sesame/tripletable/IntArray.java
----------------------------------------------------------------------
diff --git a/commons/sesame-tripletable/src/main/java/org/apache/marmotta/commons/sesame/tripletable/IntArray.java b/commons/sesame-tripletable/src/main/java/org/apache/marmotta/commons/sesame/tripletable/IntArray.java
index f1fe2ce..65002b4 100644
--- a/commons/sesame-tripletable/src/main/java/org/apache/marmotta/commons/sesame/tripletable/IntArray.java
+++ b/commons/sesame-tripletable/src/main/java/org/apache/marmotta/commons/sesame/tripletable/IntArray.java
@@ -26,6 +26,7 @@ import org.openrdf.model.Resource;
import org.openrdf.model.URI;
import org.openrdf.model.Value;
+import java.io.Serializable;
import java.nio.IntBuffer;
import java.util.Arrays;
@@ -34,7 +35,7 @@ import java.util.Arrays;
* <p/>
* Author: Sebastian Schaffert
*/
-public final class IntArray implements Comparable<IntArray> {
+public final class IntArray implements Comparable<IntArray>, Serializable {
private static HashFunction hashFunction32 = Hashing.goodFastHash(32);
private static HashFunction hashFunction64 = Hashing.goodFastHash(64);