activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject activemq-artemis git commit: renaming srv.lock to cli.lock
Date Tue, 01 Sep 2015 00:18:19 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master d31b0ea35 -> 8f04442e8


renaming srv.lock to cli.lock


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/8f04442e
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/8f04442e
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/8f04442e

Branch: refs/heads/master
Commit: 8f04442e84e9fd52ff017790e0b900a39776a746
Parents: d31b0ea
Author: Clebert Suconic <clebertsuconic@apache.org>
Authored: Mon Aug 31 20:17:43 2015 -0400
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Mon Aug 31 20:18:05 2015 -0400

----------------------------------------------------------------------
 .../org/apache/activemq/artemis/cli/commands/Configurable.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/8f04442e/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Configurable.java
----------------------------------------------------------------------
diff --git a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Configurable.java
b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Configurable.java
index ac871a7..f29a3e3 100644
--- a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Configurable.java
+++ b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Configurable.java
@@ -82,7 +82,7 @@ public abstract class Configurable extends ActionAbstract {
 
    protected static void lock(File journalPlace) throws Exception {
       journalPlace.mkdirs();
-      File fileLock = new File(journalPlace, "srv.lock");
+      File fileLock = new File(journalPlace, "cli.lock");
       RandomAccessFile file = new RandomAccessFile(fileLock, "rw");
       serverLockLock = file.getChannel().tryLock();
       if (serverLockLock == null) {


Mime
View raw message