James Netherton created CAMEL-11706:
---------------------------------------
Summary: Remove duplicate type converter methods from
HBaseModelConverter
Key: CAMEL-11706
URL: https://issues.apache.org/jira/browse/CAMEL-11706
Project: Camel
Issue Type: Improvement
Components: camel-hbase
Reporter: James Netherton
Priority: Minor
When the camel-hbase component is used the following log messages are observed:
{code}
11:16:32,852 WARN [org.apache.camel.impl.converter.DefaultTypeConverter]
(pool-3-thread-1) Overriding type converter from: StaticMethodTypeConverter:
public static byte[]
org.apache.camel.converter.IOConverter.toByteArray(java.lang.String,org.apache.camel.Exchange)
throws java.io.IOException to: StaticMethodTypeConverter: public static byte[]
org.apache.camel.component.hbase.converter.HBaseModelConverter.stringToBytes(java.lang.String)
11:16:32,852 WARN [org.apache.camel.impl.converter.DefaultTypeConverter]
(pool-3-thread-1) Overriding type converter from: StaticMethodTypeConverter:
public static java.lang.String
org.apache.camel.converter.IOConverter.toString(byte[],org.apache.camel.Exchange)
throws java.io.IOException to: StaticMethodTypeConverter: public static
java.lang.String
org.apache.camel.component.hbase.converter.HBaseModelConverter.bytesToString(byte[])
{code}
I know these can effectively be ignored, but it is a little annoying. Can we
clean up the duplicate @Converter methods?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)