aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject svn commit: r1796990 - /aries/trunk/transaction/transaction-manager/src/main/java/org/apache/aries/transaction/internal/TransactionLogUtils.java
Date Wed, 31 May 2017 07:54:43 GMT
Author: cschneider
Date: Wed May 31 07:54:43 2017
New Revision: 1796990

URL: http://svn.apache.org/viewvc?rev=1796990&view=rev
Log:
Remove unused variable

Modified:
    aries/trunk/transaction/transaction-manager/src/main/java/org/apache/aries/transaction/internal/TransactionLogUtils.java

Modified: aries/trunk/transaction/transaction-manager/src/main/java/org/apache/aries/transaction/internal/TransactionLogUtils.java
URL: http://svn.apache.org/viewvc/aries/trunk/transaction/transaction-manager/src/main/java/org/apache/aries/transaction/internal/TransactionLogUtils.java?rev=1796990&r1=1796989&r2=1796990&view=diff
==============================================================================
--- aries/trunk/transaction/transaction-manager/src/main/java/org/apache/aries/transaction/internal/TransactionLogUtils.java
(original)
+++ aries/trunk/transaction/transaction-manager/src/main/java/org/apache/aries/transaction/internal/TransactionLogUtils.java
Wed May 31 07:54:43 2017
@@ -57,12 +57,8 @@ public class TransactionLogUtils {
      */
     public static boolean copyActiveTransactions(Dictionary<String, Object> oldConfiguration,
Dictionary<String, ?> newConfiguration)
             throws ConfigurationException, IOException {
-        boolean initialConfiguration = false;
         if (oldConfiguration == null) {
             oldConfiguration = new Hashtable<String, Object>();
-            // initialConfiguration means we don't know the location of "old" logs (if there
are any) and
-            // assume there may be logs in newLogDirectory
-            initialConfiguration = true;
         }
         if (oldConfiguration.get(HOWL_LOG_FILE_DIR) == null) {
             // we will be adjusting oldConfiguration to be able to create "old HOWLLog"



Mime
View raw message