Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11706

Remove duplicate type converter methods from HBaseModelConverter

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.18.5, 2.19.3, 2.20.0
    • Component/s: camel-hbase
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      When the camel-hbase component is used the following log messages are observed:

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

      I know these can effectively be ignored, but it is a little annoying. Can we clean up the duplicate @Converter methods?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jamesnetherton James Netherton
                Reporter:
                jamesnetherton James Netherton
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: