accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [accumulo] branch 1.9 updated: Remove warning and fix compilation with Java 7
Date Wed, 09 May 2018 18:32:01 GMT
This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch 1.9
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/1.9 by this push:
     new dcc23b2  Remove warning and fix compilation with Java 7
dcc23b2 is described below

commit dcc23b2238f33aa886e5ab387060565768c4028d
Author: Christopher Tubbs <ctubbsii@apache.org>
AuthorDate: Wed May 9 14:30:20 2018 -0400

    Remove warning and fix compilation with Java 7
---
 .../apache/accumulo/core/iterators/user/VersioningIteratorTest.java  | 2 +-
 .../main/java/org/apache/accumulo/tserver/log/SortedLogRecovery.java | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/core/src/test/java/org/apache/accumulo/core/iterators/user/VersioningIteratorTest.java
b/core/src/test/java/org/apache/accumulo/core/iterators/user/VersioningIteratorTest.java
index 4ac9829..a3828b5 100644
--- a/core/src/test/java/org/apache/accumulo/core/iterators/user/VersioningIteratorTest.java
+++ b/core/src/test/java/org/apache/accumulo/core/iterators/user/VersioningIteratorTest.java
@@ -304,7 +304,7 @@ public class VersioningIteratorTest {
     it.seek(testRange, EMPTY_COL_FAMS, false);
 
     assertTrue(it.hasTop());
-    assertTrue(it.getTopValue().equals("00".getBytes()));
+    assertTrue(it.getTopValue().equals(new Value("00".getBytes())));
     it.next();
     assertFalse(it.hasTop());
   }
diff --git a/server/tserver/src/main/java/org/apache/accumulo/tserver/log/SortedLogRecovery.java
b/server/tserver/src/main/java/org/apache/accumulo/tserver/log/SortedLogRecovery.java
index ebfa92f..c0fa3a2 100644
--- a/server/tserver/src/main/java/org/apache/accumulo/tserver/log/SortedLogRecovery.java
+++ b/server/tserver/src/main/java/org/apache/accumulo/tserver/log/SortedLogRecovery.java
@@ -153,6 +153,11 @@ public class SortedLogRecovery {
       return next;
     }
 
+    @Override
+    public void remove() {
+      throw new UnsupportedOperationException("remove");
+    }
+
   }
 
   private long findLastStartToFinish(List<Path> recoveryLogs, Set<String> tabletFiles,
int tabletId)

-- 
To stop receiving notification emails like this one, please contact
ctubbsii@apache.org.

Mime
View raw message