Skip to content
Snippets Groups Projects
Commit 049c16f0 authored by Kelly Kelly's avatar Kelly Kelly
Browse files

Added check for empty string

parent 93ebe761
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