mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
Merge pull request #1825 from BasisOlivers/aut-1861
Fixed switch statements for datetime
This commit is contained in:
commit
a63301a177
@ -114,6 +114,10 @@ public class ArtifactStringContent implements StringContent {
|
|||||||
case BYTE:
|
case BYTE:
|
||||||
buffer.append(Arrays.toString(attr.getValueBytes()));
|
buffer.append(Arrays.toString(attr.getValueBytes()));
|
||||||
break;
|
break;
|
||||||
|
case DATETIME:
|
||||||
|
buffer.append(attr.getValueLong());
|
||||||
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!"".equals(attr.getContext())) {
|
if (!"".equals(attr.getContext())) {
|
||||||
|
@ -215,6 +215,8 @@ public abstract class DrawableFile<T extends AbstractFile> extends AbstractFile
|
|||||||
return attr.getValueLong();
|
return attr.getValueLong();
|
||||||
case STRING:
|
case STRING:
|
||||||
return attr.getValueString();
|
return attr.getValueString();
|
||||||
|
case DATETIME:
|
||||||
|
return attr.getValueLong();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user