Commons DbUtils
  1. Commons DbUtils
  2. DBUTILS-51

Make classes immutable where possible to improve thread-safety

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2
    • Labels:
      None

      Description

      Patches to make classes immutable and therefore thread-safe.

      KeyedHandler has protected variables so the change to final might break existing programs.

      1. KeyedHandler.patch
        2 kB
        Sebb
      2. dbutils.patch
        2 kB
        Sebb
      3. dbutils_handlers.patch
        8 kB
        Sebb

        Activity

        Sebb created issue -
        Sebb made changes -
        Field Original Value New Value
        Attachment dbutils_handlers.patch [ 12401887 ]
        Attachment dbutils.patch [ 12401888 ]
        Attachment KeyedHandler.patch [ 12401889 ]
        Hide
        Dan Fabulich added a comment -

        Patches applied in revision 752369.

        Show
        Dan Fabulich added a comment - Patches applied in revision 752369.
        Dan Fabulich made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 1.2 [ 12312139 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        14h 28m 1 Dan Fabulich 11/Mar/09 16:53

          People

          • Assignee:
            Unassigned
            Reporter:
            Sebb
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development