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

Remove unsued code in AlterTableConstantaction.columnDroppedAndTriggerDependencies

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 10.9.1.0
    • 10.10.1.1
    • SQL
    • Normal

    Description

      The following code is executed, but the results are not used:
      CollectNodesVisitor visitor = new CollectNodesVisitor(ColumnReference.class);
      stmtnode.accept(visitor);
      Vector refs = visitor.getList(); <--- never used

      I plan to remove the code, but just want to record it here in case there are side-effects by using the visitor.

      Attachments

        1. derby-5740-1a-code_removal.diff
          0.8 kB
          Kristian Waagan

        Activity

          People

            kristwaa Kristian Waagan
            kristwaa Kristian Waagan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: