You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by kt...@apache.org on 2013/03/20 20:15:51 UTC

svn commit: r1459004 - /accumulo/branches/1.5/docs/src/user_manual/chapters/clients.tex

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