diff --git a/iped-parsers/iped-parsers-impl/src/main/java/iped/parsers/whatsapp/ExtractorAndroidNew.java b/iped-parsers/iped-parsers-impl/src/main/java/iped/parsers/whatsapp/ExtractorAndroidNew.java index 9df94c2241..b54af660f1 100644 --- a/iped-parsers/iped-parsers-impl/src/main/java/iped/parsers/whatsapp/ExtractorAndroidNew.java +++ b/iped-parsers/iped-parsers-impl/src/main/java/iped/parsers/whatsapp/ExtractorAndroidNew.java @@ -157,6 +157,7 @@ private List extractCalls(Connection conn, Chat c) throws SQLException return messages; } + private List extractMessages(Connection conn, Chat c) throws SQLException { List messages = new ArrayList<>(); try (PreparedStatement stmt = conn.prepareStatement(getSelectMessagesQuery(conn))) { diff --git a/iped-parsers/iped-parsers-impl/src/main/java/iped/parsers/whatsapp/Message.java b/iped-parsers/iped-parsers-impl/src/main/java/iped/parsers/whatsapp/Message.java index 8ff3737d84..b4d17e899f 100644 --- a/iped-parsers/iped-parsers-impl/src/main/java/iped/parsers/whatsapp/Message.java +++ b/iped-parsers/iped-parsers-impl/src/main/java/iped/parsers/whatsapp/Message.java @@ -112,8 +112,8 @@ public String getUniqueId() { if (deletedId == -1) { deletedId = deletedCounter.getAndIncrement(); } - if(deleted) { - new_id+="_" + deletedId; + if (deleted) { + new_id += "_" + deletedId; } return new_id; }