accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bil...@apache.org
Subject svn commit: r1185663 - in /incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/client/mock: IteratorAdapter.java MockEntry.java
Date Tue, 18 Oct 2011 14:00:06 GMT
Author: billie
Date: Tue Oct 18 14:00:05 2011
New Revision: 1185663

URL: http://svn.apache.org/viewvc?rev=1185663&view=rev
Log:
ACCUMULO-45 removed MockEntry

Removed:
    incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/client/mock/MockEntry.java
Modified:
    incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/client/mock/IteratorAdapter.java

Modified: incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/client/mock/IteratorAdapter.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/client/mock/IteratorAdapter.java?rev=1185663&r1=1185662&r2=1185663&view=diff
==============================================================================
--- incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/client/mock/IteratorAdapter.java
(original)
+++ incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/client/mock/IteratorAdapter.java
Tue Oct 18 14:00:05 2011
@@ -6,6 +6,7 @@ import java.util.Map.Entry;
 import java.util.NoSuchElementException;
 
 import org.apache.accumulo.core.data.Key;
+import org.apache.accumulo.core.data.KeyValue;
 import org.apache.accumulo.core.data.Value;
 import org.apache.accumulo.core.iterators.SortedKeyValueIterator;
 
@@ -26,7 +27,7 @@ public class IteratorAdapter implements 
     @Override
     public Entry<Key, Value> next() {
         try {
-            Entry<Key, Value> result = new MockEntry(new Key(inner.getTopKey()), new
Value(inner.getTopValue()));
+            Entry<Key, Value> result = new KeyValue(new Key(inner.getTopKey()), new
Value(inner.getTopValue()).get());
             inner.next();
             return result;
         } catch (IOException ex) {



Mime
View raw message