accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Berman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-1040) Variable name inconsistency in "Reading Data" client code snippet
Date Mon, 04 Feb 2013 20:58:12 GMT
Michael Berman created ACCUMULO-1040:
----------------------------------------

             Summary: Variable name inconsistency in "Reading Data" client code snippet
                 Key: ACCUMULO-1040
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1040
             Project: Accumulo
          Issue Type: Bug
          Components: docs
    Affects Versions: 1.4.2
            Reporter: Michael Berman
            Assignee: David Medinets
            Priority: Critical


On the "Writing Clients" doc page, in the section "SCANNER" (at http://accumulo.apache.org/1.4/user_manual/Writing_Accumulo_Clients.html#Reading_Data),
there is the following code snippet:

{code}
for(Entry<Key,Value> entry : scan) {
    String row = e.getKey().getRow();
    Value value = e.getValue();
}
{code}

In the loop body, {{e}} should be {{entry}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message