accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktur...@apache.org
Subject svn commit: r1459004 - /accumulo/branches/1.5/docs/src/user_manual/chapters/clients.tex
Date Wed, 20 Mar 2013 19:15:51 GMT
Author: kturner
Date: Wed Mar 20 19:15:51 2013
New Revision: 1459004

URL: http://svn.apache.org/r1459004
Log:
ACCUMULO-1040 fixed code in documentation

Modified:
    accumulo/branches/1.5/docs/src/user_manual/chapters/clients.tex

Modified: accumulo/branches/1.5/docs/src/user_manual/chapters/clients.tex
URL: http://svn.apache.org/viewvc/accumulo/branches/1.5/docs/src/user_manual/chapters/clients.tex?rev=1459004&r1=1459003&r2=1459004&view=diff
==============================================================================
--- accumulo/branches/1.5/docs/src/user_manual/chapters/clients.tex (original)
+++ accumulo/branches/1.5/docs/src/user_manual/chapters/clients.tex Wed Mar 20 19:15:51 2013
@@ -139,8 +139,8 @@ scan.setRange(new Range("harry","john"))
 scan.fetchFamily("attributes");
 
 for(Entry<Key,Value> entry : scan) {
-    String row = e.getKey().getRow();
-    Value value = e.getValue();
+    String row = entry.getKey().getRow();
+    Value value = entry.getValue();
 }
 \end{verbatim}
 \normalsize
@@ -195,7 +195,7 @@ bscan.setRanges(ranges);
 bscan.fetchFamily("attributes");
 
 for(Entry<Key,Value> entry : scan)
-    System.out.println(e.getValue());
+    System.out.println(entry.getValue());
 \end{verbatim}
 \normalsize
 



Mime
View raw message