Skip to content

Commit 3ebb466

Browse files
committed
Update README.md
fix contact collection typos
1 parent 50f5f86 commit 3ebb466

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,13 @@ contact.setName("Stitch Hessian");
160160
Contact updated = Contact.update(contact);
161161
162162
// Read a contact list by email
163-
Contact contacts = Contact.listByEmail("jubal@serenity.io");
163+
ContactCollection contacts = Contact.listByEmail("jubal@serenity.io");
164164
while(contacts.hasNext()) {
165165
System.out.println(contacts.next());
166166
}
167167
168168
// Iterate over all contacts
169-
Contact allContacts = Contact.list();
169+
ContactCollection allContacts = Contact.list();
170170
while(allContacts.hasNext()) {
171171
System.out.println(allContacts.next());
172172
}

0 commit comments

Comments
 (0)