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

Suggestion to replace HBaseContants class with HBaseConstants interface and other minor changes.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.10.0
    • 2.10.1, 2.11.0
    • camel-hbase
    • All

    • Patch Available
    • Novice

    Description

      I was looking at the code and noticed that the HBaseContant class can be an interface since all of the defined fields can be set within an interface.

      I am still trying to understand why the class was called HBaseContant instead of something like HBaseConstants.

      There are also minors changes that I made that made the code a little consistent with my prior fix with respect to tablePool.getTable call.

      I will include a patch that you can take a look at and decide if these changes are useful or not.

      Attachments

        1. hbase-updates.diffs
          17 kB
          Claudio Corsi

        Activity

          People

            davsclaus Claus Ibsen
            ccorsi Claudio Corsi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: