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

[patch] remove non productive instanceof checks

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 10.7.1.1
    • 10.9.1.0
    • SQL, Store
    • None
    • Low

    Description

      various places in code does instanceof checks where the outcome can be determined statically to be always true or always false.

      removed these checks as they do nothing.

      Attachments

        1. derby-5077-1a-remove_useless_instanceofs.diff
          5 kB
          Kristian Waagan
        2. remove_useless_instanceofs.diff
          3 kB
          Dave Brosius

        Activity

          People

            kristwaa Kristian Waagan
            dbrosius@apache.org Dave Brosius
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified