mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 19:10:38 +00:00
Fix typo
This commit is contained in:
parent
6c9f26f49b
commit
93e2c58fcf
3 changed files with 17 additions and 17 deletions
|
@ -19,7 +19,7 @@ public class JsonContactsStore {
|
|||
@JsonDeserialize(using = ContactsDeserializer.class)
|
||||
private Map<String, ContactInfo> contacts = new HashMap<>();
|
||||
|
||||
private static final ObjectMapper jsonProcessot = new ObjectMapper();
|
||||
private static final ObjectMapper jsonProcessor = new ObjectMapper();
|
||||
|
||||
void updateContact(ContactInfo contact) {
|
||||
contacts.put(contact.number, contact);
|
||||
|
@ -47,7 +47,7 @@ public class JsonContactsStore {
|
|||
Map<String, ContactInfo> contacts = new HashMap<>();
|
||||
JsonNode node = jsonParser.getCodec().readTree(jsonParser);
|
||||
for (JsonNode n : node) {
|
||||
ContactInfo c = jsonProcessot.treeToValue(n, ContactInfo.class);
|
||||
ContactInfo c = jsonProcessor.treeToValue(n, ContactInfo.class);
|
||||
contacts.put(c.number, c);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue