ActiveMQ
  1. ActiveMQ
  2. AMQ-3515

MultiKahaDBPersistenceAdapter can not set directory

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.6.0
    • Component/s: Message Store
    • Labels:
      None

      Description

      There is an assignment to self in the directory setter of MultiKahaDBPersitenceAdapter. this.directory=directory should be this.directory=dir.

        Activity

        Hide
        Bruce Thompson added a comment - - edited
        MultiKahaDBPersistenceAdapter.java patch
        # This patch file was generated by NetBeans IDE
        # It uses platform neutral UTF-8 encoding and \n newlines.
        --- Base (BASE)
        +++ Locally Modified (Based On LOCAL)
        @@ -238,7 +238,7 @@
         
             @Override
             public void setDirectory(File dir) {
        -        this.directory = directory;
        +        this.directory = dir;
             }
         
             public void setBrokerService(BrokerService brokerService) {
        
        Show
        Bruce Thompson added a comment - - edited MultiKahaDBPersistenceAdapter.java patch # This patch file was generated by NetBeans IDE # It uses platform neutral UTF-8 encoding and \n newlines. --- Base (BASE) +++ Locally Modified (Based On LOCAL) @@ -238,7 +238,7 @@ @Override public void setDirectory(File dir) { - this .directory = directory; + this .directory = dir; } public void setBrokerService(BrokerService brokerService) {
        Hide
        Timothy Bish added a comment -

        Fixed in trunk, good catch.

        Show
        Timothy Bish added a comment - Fixed in trunk, good catch.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development