You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Bruce Thompson (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2011/09/28 19:12:45 UTC

[jira] [Issue Comment Edited] (AMQ-3515) MultiKahaDBPersistenceAdapter can not set directory

    [ https://issues.apache.org/jira/browse/AMQ-3515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116604#comment-13116604 ] 

Bruce Thompson edited comment on AMQ-3515 at 9/28/11 5:11 PM:
--------------------------------------------------------------

{code:title=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) {
{code}
                
      was (Author: brucent):
    # 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) {

                  
> MultiKahaDBPersistenceAdapter can not set directory
> ---------------------------------------------------
>
>                 Key: AMQ-3515
>                 URL: https://issues.apache.org/jira/browse/AMQ-3515
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Message Store
>    Affects Versions: 6.0.0
>            Reporter: Bruce Thompson
>
> There is an assignment to self in the directory setter of MultiKahaDBPersitenceAdapter.  this.directory=directory should be this.directory=dir.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira