You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/08/30 07:42:00 UTC

[jira] [Commented] (CAMEL-11706) Remove duplicate type converter methods from HBaseModelConverter

    [ https://issues.apache.org/jira/browse/CAMEL-11706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16146822#comment-16146822 ] 

ASF GitHub Bot commented on CAMEL-11706:
----------------------------------------

GitHub user jamesnetherton opened a pull request:

    https://github.com/apache/camel/pull/1905

    CAMEL-11706: Remove duplicate type converter methods from HBaseModelConverter

    https://issues.apache.org/jira/browse/CAMEL-11706

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jamesnetherton/camel CAMEL-11706

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1905.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1905
    
----
commit 1edb78a71c69c4f69831c6269c9291dc35b6ef93
Author: James Netherton <ja...@gmail.com>
Date:   2017-08-30T07:20:42Z

    CAMEL-11706: Remove duplicate type converter methods from HBaseModelConverter

----


> 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)