diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2015-07-20 15:24:08 -0700 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2015-07-20 15:24:08 -0700 |
commit | b0e5ba697eb281b4ea9e53e1dc9f5ebeccf28f9a (patch) | |
tree | 264a596dcc4d8fe77613720934f111257a349981 /examples/ListPeople.java | |
parent | 359d32d4f711b7f8f774a1ceaa3ad55aa13167cf (diff) | |
download | protobuf-b0e5ba697eb281b4ea9e53e1dc9f5ebeccf28f9a.tar.gz protobuf-b0e5ba697eb281b4ea9e53e1dc9f5ebeccf28f9a.tar.bz2 protobuf-b0e5ba697eb281b4ea9e53e1dc9f5ebeccf28f9a.zip |
rename persons to people
Diffstat (limited to 'examples/ListPeople.java')
-rw-r--r-- | examples/ListPeople.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ListPeople.java b/examples/ListPeople.java index 0294fb7a..78924305 100644 --- a/examples/ListPeople.java +++ b/examples/ListPeople.java @@ -9,7 +9,7 @@ import java.io.PrintStream; class ListPeople { // Iterates though all people in the AddressBook and prints info about them. static void Print(AddressBook addressBook) { - for (Person person: addressBook.getPersonsList()) { + for (Person person: addressBook.getPeopleList()) { System.out.println("Person ID: " + person.getId()); System.out.println(" Name: " + person.getName()); if (!person.getEmail().isEmpty()) { |