Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-5823

Remove commons-collections dependency from innodb

    XMLWordPrintableJSON

Details

    Description

      Currently,  CollectionsUtils is only used in a few places in the InnoDb adapter, and the only methods used are isEmpty and isNotEmpty

      The only difference between CollectionUtils.isEmpty and list.isEmpty is the behavior if list is null. Modern coding practices would ensure that list is not null unless specified in its type.

      So we can safely remove it to avoid using an entire library just for the sake of using isEmpty.

      Attachments

        Issue Links

          Activity

            People

              taoran Ran Tao
              taoran Ran Tao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: