Repository: incubator-gearpump Updated Branches: refs/heads/master a996d397f -> bb69c71f6
[GEARPUMP-276] Remove ununsed 'shade' folder Author: huafengw <[email protected]> Closes #153 from huafengw/remove_shade. Project: http://git-wip-us.apache.org/repos/asf/incubator-gearpump/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-gearpump/commit/bb69c71f Tree: http://git-wip-us.apache.org/repos/asf/incubator-gearpump/tree/bb69c71f Diff: http://git-wip-us.apache.org/repos/asf/incubator-gearpump/diff/bb69c71f Branch: refs/heads/master Commit: bb69c71f66a188854374c5044f38527297d72444 Parents: a996d39 Author: huafengw <[email protected]> Authored: Tue Feb 21 10:15:49 2017 +0800 Committer: manuzhang <[email protected]> Committed: Tue Feb 21 10:15:54 2017 +0800 ---------------------------------------------------------------------- .../kryo/KryoSerializerWrapper.java | 43 -------------------- shaded/gs-collections/README.md | 1 - shaded/guava/README.md | 1 - shaded/metrics-graphite/README.md | 1 - 4 files changed, 46 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-gearpump/blob/bb69c71f/shaded/akka-kryo/src/main/java/org/apache/gearpump/romix/serialization/kryo/KryoSerializerWrapper.java ---------------------------------------------------------------------- diff --git a/shaded/akka-kryo/src/main/java/org/apache/gearpump/romix/serialization/kryo/KryoSerializerWrapper.java b/shaded/akka-kryo/src/main/java/org/apache/gearpump/romix/serialization/kryo/KryoSerializerWrapper.java deleted file mode 100644 index 8e413a9..0000000 --- a/shaded/akka-kryo/src/main/java/org/apache/gearpump/romix/serialization/kryo/KryoSerializerWrapper.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.gearpump.romix.serialization.kryo; - -import com.esotericsoftware.kryo.Kryo; -import com.romix.akka.serialization.kryo.KryoBasedSerializer; -import com.romix.akka.serialization.kryo.KryoSerializer; -import akka.actor.ExtendedActorSystem; - -public class KryoSerializerWrapper { - private final KryoBasedSerializer serializer; - - public KryoSerializerWrapper(ExtendedActorSystem system) { - this.serializer = new KryoSerializer(system).serializer(); - } - - final public Kryo kryo() { - return serializer.kryo(); - } - - final public byte[] toBinary(Object msg) { - return serializer.toBinary(msg); - } - - final public Object fromBinary(byte[] bytes) { - return serializer.fromBinary(bytes); - } -} http://git-wip-us.apache.org/repos/asf/incubator-gearpump/blob/bb69c71f/shaded/gs-collections/README.md ---------------------------------------------------------------------- diff --git a/shaded/gs-collections/README.md b/shaded/gs-collections/README.md deleted file mode 100644 index 1e1dab7..0000000 --- a/shaded/gs-collections/README.md +++ /dev/null @@ -1 +0,0 @@ -placeholder for shaded directory \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-gearpump/blob/bb69c71f/shaded/guava/README.md ---------------------------------------------------------------------- diff --git a/shaded/guava/README.md b/shaded/guava/README.md deleted file mode 100644 index 1e1dab7..0000000 --- a/shaded/guava/README.md +++ /dev/null @@ -1 +0,0 @@ -placeholder for shaded directory \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-gearpump/blob/bb69c71f/shaded/metrics-graphite/README.md ---------------------------------------------------------------------- diff --git a/shaded/metrics-graphite/README.md b/shaded/metrics-graphite/README.md deleted file mode 100644 index 1e1dab7..0000000 --- a/shaded/metrics-graphite/README.md +++ /dev/null @@ -1 +0,0 @@ -placeholder for shaded directory \ No newline at end of file
