Skip to content
Snippets Groups Projects
Unverified Commit 028daa11 authored by Richard Cordovano's avatar Richard Cordovano Committed by GitHub
Browse files

Merge pull request #1698 from sleuthkit/compile_warn_fix

fixed compiler warnings
parents 14ff979b 7ee5ce9b
No related branches found
No related tags found
No related merge requests found
...@@ -512,7 +512,7 @@ public BlackboardArtifact addMessage(String messageType, ...@@ -512,7 +512,7 @@ public BlackboardArtifact addMessage(String messageType,
} }
// set recipient attribute and create recipient accounts // set recipient attribute and create recipient accounts
List<AccountFileInstance> recipientAccountsList = new ArrayList(); List<AccountFileInstance> recipientAccountsList = new ArrayList<>();
String recipientsStr = ""; String recipientsStr = "";
if (recipientIdsList != null) { if (recipientIdsList != null) {
for (String recipient : recipientIdsList) { for (String recipient : recipientIdsList) {
...@@ -712,7 +712,7 @@ public BlackboardArtifact addCalllog(CommunicationDirection direction, ...@@ -712,7 +712,7 @@ public BlackboardArtifact addCalllog(CommunicationDirection direction,
} }
// Create a comma separated string of callee // Create a comma separated string of callee
List<AccountFileInstance> recipientAccountsList = new ArrayList(); List<AccountFileInstance> recipientAccountsList = new ArrayList<>();
String calleesStr = ""; String calleesStr = "";
if (!isEffectivelyEmpty(calleeIdsList)) { if (!isEffectivelyEmpty(calleeIdsList)) {
calleesStr = addressListToString(calleeIdsList); calleesStr = addressListToString(calleeIdsList);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment