Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2223

Let BasePage.fetchFieldFromSlot use the special single-col FetchDescriptor ctor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 10.2.2.0
    • 10.3.1.4
    • Miscellaneous
    • None

    Description

      BasePage.fetchFieldFromSlot needs to construct a FetchDescriptor with single column. To do this it creates a FormatableBitSet that identifies the correct column and then passes this bitset to the FetchDescriptor constructor. But FetchDescriptor has a special constructor for the single column case, that doesn't need a bitset. Using this constructor instead makes the code simpler, and presumably more efficient as well.

      Attachments

        1. derby-2223.v1.stat
          0.2 kB
          Dyre Tjeldvoll
        2. derby-2223.v1.diff
          0.8 kB
          Dyre Tjeldvoll

        Activity

          People

            dyret Dyre Tjeldvoll
            dyret Dyre Tjeldvoll
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: