Skip to content
Snippets Groups Projects
Unverified Commit 6d78d25a authored by eugene7646's avatar eugene7646 Committed by GitHub
Browse files

Merge pull request #7535 from kellykelly3/8152-nfe-in-ra

8152 Added check for empty string
parents 93ebe761 049c16f0
No related branches found
No related tags found
No related merge requests found
......@@ -449,9 +449,12 @@ private void getCookie(long ingestJobId) {
NbBundle.getMessage(this.getClass(), "Firefox.moduleName")));
if (checkColumn == true) {
bbattributes.add(new BlackboardAttribute(ATTRIBUTE_TYPE.TSK_DATETIME_CREATED,
RecentActivityExtracterModuleFactory.getModuleName(),
(Long.valueOf(result.get("creationTime").toString())))); //NON-NLS
String value = result.get("creationTime").toString();
if(value != null && !value.isEmpty()) {
bbattributes.add(new BlackboardAttribute(ATTRIBUTE_TYPE.TSK_DATETIME_CREATED,
RecentActivityExtracterModuleFactory.getModuleName(),
(Long.valueOf(result.get("creationTime").toString())))); //NON-NLS
}
}
String domain = extractDomain(host);
if (domain != null && domain.isEmpty() == false) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment