Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sleuthkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IRT
Sleuthkit
Commits
77b07b56
Commit
77b07b56
authored
5 years ago
by
Raman Arora
Browse files
Options
Downloads
Patches
Plain Diff
Fixed typo in method name.
parent
3271b457
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bindings/java/src/org/sleuthkit/datamodel/blackboardutils/CommunicationArtifactsHelper.java
+2
-2
2 additions, 2 deletions
...tamodel/blackboardutils/CommunicationArtifactsHelper.java
with
2 additions
and
2 deletions
bindings/java/src/org/sleuthkit/datamodel/blackboardutils/CommunicationArtifactsHelper.java
+
2
−
2
View file @
77b07b56
...
@@ -776,7 +776,7 @@ public void addAttachments(BlackboardArtifact message, MessageAttachments attach
...
@@ -776,7 +776,7 @@ public void addAttachments(BlackboardArtifact message, MessageAttachments attach
long
attachedFileObjId
=
fileAttachment
.
getObjectId
();
long
attachedFileObjId
=
fileAttachment
.
getObjectId
();
if
(
attachedFileObjId
>=
0
)
{
if
(
attachedFileObjId
>=
0
)
{
AbstractFile
attachedFile
=
message
.
getSleuthkitCase
().
getAbstractFileById
(
attachedFileObjId
);
AbstractFile
attachedFile
=
message
.
getSleuthkitCase
().
getAbstractFileById
(
attachedFileObjId
);
associateAttachmentWithMess
s
ge
(
message
,
attachedFile
);
associateAttachmentWithMess
a
ge
(
message
,
attachedFile
);
}
}
}
}
}
}
...
@@ -793,7 +793,7 @@ public void addAttachments(BlackboardArtifact message, MessageAttachments attach
...
@@ -793,7 +793,7 @@ public void addAttachments(BlackboardArtifact message, MessageAttachments attach
* @throws TskCoreException If there is an error creating the
* @throws TskCoreException If there is an error creating the
* TSK_ASSOCIATED_OBJECT artifact.
* TSK_ASSOCIATED_OBJECT artifact.
*/
*/
private
BlackboardArtifact
associateAttachmentWithMess
s
ge
(
BlackboardArtifact
message
,
AbstractFile
attachedFile
)
throws
TskCoreException
{
private
BlackboardArtifact
associateAttachmentWithMess
a
ge
(
BlackboardArtifact
message
,
AbstractFile
attachedFile
)
throws
TskCoreException
{
Collection
<
BlackboardAttribute
>
attributes
=
new
ArrayList
<>();
Collection
<
BlackboardAttribute
>
attributes
=
new
ArrayList
<>();
attributes
.
add
(
new
BlackboardAttribute
(
BlackboardAttribute
.
ATTRIBUTE_TYPE
.
TSK_ASSOCIATED_ARTIFACT
,
this
.
getModuleName
(),
message
.
getArtifactID
()));
attributes
.
add
(
new
BlackboardAttribute
(
BlackboardAttribute
.
ATTRIBUTE_TYPE
.
TSK_ASSOCIATED_ARTIFACT
,
this
.
getModuleName
(),
message
.
getArtifactID
()));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment