aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject svn commit: r1796991 - in /aries/trunk/transaction/transaction-manager: pom.xml src/test/java/org/apache/aries/transaction/internal/LogConversionTest.java
Date Wed, 31 May 2017 07:54:52 GMT
Author: cschneider
Date: Wed May 31 07:54:52 2017
New Revision: 1796991

URL: http://svn.apache.org/viewvc?rev=1796991&view=rev
Log:
Fix warnings

Modified:
    aries/trunk/transaction/transaction-manager/pom.xml
    aries/trunk/transaction/transaction-manager/src/test/java/org/apache/aries/transaction/internal/LogConversionTest.java

Modified: aries/trunk/transaction/transaction-manager/pom.xml
URL: http://svn.apache.org/viewvc/aries/trunk/transaction/transaction-manager/pom.xml?rev=1796991&r1=1796990&r2=1796991&view=diff
==============================================================================
--- aries/trunk/transaction/transaction-manager/pom.xml (original)
+++ aries/trunk/transaction/transaction-manager/pom.xml Wed May 31 07:54:52 2017
@@ -92,13 +92,11 @@
         <dependency>
             <groupId>org.osgi</groupId>
             <artifactId>org.osgi.core</artifactId>
-            <version>4.3.1</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>
             <artifactId>org.osgi.compendium</artifactId>
-            <version>4.3.1</version>
             <scope>provided</scope>
         </dependency>
         <dependency>

Modified: aries/trunk/transaction/transaction-manager/src/test/java/org/apache/aries/transaction/internal/LogConversionTest.java
URL: http://svn.apache.org/viewvc/aries/trunk/transaction/transaction-manager/src/test/java/org/apache/aries/transaction/internal/LogConversionTest.java?rev=1796991&r1=1796990&r2=1796991&view=diff
==============================================================================
--- aries/trunk/transaction/transaction-manager/src/test/java/org/apache/aries/transaction/internal/LogConversionTest.java
(original)
+++ aries/trunk/transaction/transaction-manager/src/test/java/org/apache/aries/transaction/internal/LogConversionTest.java
Wed May 31 07:54:52 2017
@@ -54,7 +54,7 @@ public class LogConversionTest {
         FileUtils.deleteDirectory(logDir);
         logDir.mkdirs();
         Dictionary<String, Object> properties = new Hashtable<String, Object>();
-        HOWLLog txLog = createLog("initialConfiguration", "transaction", 2, -1, 1, properties);
+        createLog("initialConfiguration", "transaction", 2, -1, 1, properties);
 
         assertFalse(TransactionLogUtils.copyActiveTransactions(null, properties));
     }
@@ -65,7 +65,7 @@ public class LogConversionTest {
         FileUtils.deleteDirectory(logDir);
         logDir.mkdirs();
         Dictionary<String, Object> properties = new Hashtable<String, Object>();
-        HOWLLog txLog = createLog("initialConfigurationEmptyTransactionLog", "transaction",
2, -1, 1, properties);
+        createLog("initialConfigurationEmptyTransactionLog", "transaction", 2, -1, 1, properties);
         new RandomAccessFile(new File(logDir, "transaction_1.log"), "rw").close();
         new RandomAccessFile(new File(logDir, "transaction_2.log"), "rw").close();
 
@@ -250,7 +250,7 @@ public class LogConversionTest {
         transaction(txLog, 1, false);
         txLog.doStop();
 
-        long lm = earlierLastModified(new File(logDir, "transaction_1.log"));
+        earlierLastModified(new File(logDir, "transaction_1.log"));
 
         Hashtable<String, Object> newConfig = (Hashtable<String, Object>) properties.clone();
         newConfig.put("aries.transaction.howl.logFileName", "megatransaction");
@@ -273,7 +273,7 @@ public class LogConversionTest {
         transaction(txLog, 1, false);
         txLog.doStop();
 
-        long lm = earlierLastModified(new File(logDir, "transaction_1.log"));
+        earlierLastModified(new File(logDir, "transaction_1.log"));
 
         Hashtable<String, Object> newConfig = (Hashtable<String, Object>) properties.clone();
         newConfig.put("aries.transaction.howl.logFileName", "megatransaction");



Mime
View raw message