You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2017/08/30 08:29:33 UTC

camel git commit: CAMEL-11706: Remove duplicate type converter methods from HBaseModelConverter

Repository: camel
Updated Branches:
  refs/heads/master 78b904ae6 -> 7e33dd19b


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/7e33dd19
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/7e33dd19
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/7e33dd19

Branch: refs/heads/master
Commit: 7e33dd19b1b5b150a57ca0bdca2ed4a1e6f5238c
Parents: 78b904a
Author: James Netherton <ja...@gmail.com>
Authored: Wed Aug 30 08:20:42 2017 +0100
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Wed Aug 30 10:19:39 2017 +0200

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


http://git-wip-us.apache.org/repos/asf/camel/blob/7e33dd19/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);
-    }
 }