camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject camel git commit: CAMEL-11706: Remove duplicate type converter methods from HBaseModelConverter
Date Wed, 30 Aug 2017 09:08:34 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.18.x 6b4e81081 -> 28f88f862


CAMEL-11706: Remove duplicate type converter methods from HBaseModelConverter


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/28f88f86
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/28f88f86
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/28f88f86

Branch: refs/heads/camel-2.18.x
Commit: 28f88f862d62071979368e8cbc3d111e297ef5cb
Parents: 6b4e810
Author: James Netherton <jamesnetherton@gmail.com>
Authored: Wed Aug 30 08:20:42 2017 +0100
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Wed Aug 30 10:57:19 2017 +0200

----------------------------------------------------------------------
 .../component/hbase/converter/HBaseModelConverter.java    | 10 ----------
 1 file changed, 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/28f88f86/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/converter/HBaseModelConverter.java
----------------------------------------------------------------------
diff --git a/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/converter/HBaseModelConverter.java
b/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/converter/HBaseModelConverter.java
index 7c45d98..0bc337c 100644
--- a/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/converter/HBaseModelConverter.java
+++ b/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/converter/HBaseModelConverter.java
@@ -85,14 +85,4 @@ public final class HBaseModelConverter {
     public static Float bytesToFloat(byte[] bytes) {
         return Bytes.toFloat(bytes);
     }
-
-    @Converter
-    public static byte[] stringToBytes(String str) {
-        return Bytes.toBytes(str);
-    }
-
-    @Converter
-    public static String bytesToString(byte[] bytes) {
-        return Bytes.toString(bytes);
-    }
 }


Mime
View raw message