Commons DbUtils
  1. Commons DbUtils
  2. DBUTILS-65

Duplicate code introduced during Java 1.5 branch merge

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Labels:
      None

      Description

      The merge of Java 1.5 code into the main line introduced duplicate code in at least one place (BeanProcessor.java).

      My guess is that some patches were applied to both the trunk and 1.5 branch during development. When the merge occurred, the patches contents were duplicated.

      I haven't analyzed all files for duplicate code, but I will be attaching a patch for the BeanProcessor class.

      1. BeanProcessor-patch.diff
        0.6 kB
        Brandon Atkinson

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        495d 13h 11m 1 Henri Yandell 10/Apr/11 05:02
        Closed Closed Reopened Reopened
        1m 3s 1 Henri Yandell 10/Apr/11 05:03
        Reopened Reopened Closed Closed
        6s 1 Henri Yandell 10/Apr/11 05:03
        Henri Yandell made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Fix Version/s 1.4 [ 12314387 ]
        Resolution Fixed [ 1 ]
        Henri Yandell made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Henri Yandell made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Hide
        Henri Yandell added a comment -

        Thanks, I've applied the patch.

        Show
        Henri Yandell added a comment - Thanks, I've applied the patch.
        Brandon Atkinson made changes -
        Field Original Value New Value
        Attachment BeanProcessor-patch.diff [ 12426417 ]
        Hide
        Brandon Atkinson added a comment -

        Remove duplicated code in BeanProcessor#processColumn

        Show
        Brandon Atkinson added a comment - Remove duplicated code in BeanProcessor#processColumn
        Brandon Atkinson created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Brandon Atkinson
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development