Improvements to attributes with multiple sources code

This commit is contained in:
Richard Cordovano 2017-02-08 19:48:46 -05:00
parent 3ed67b1df8
commit 7a467d0e91
2 changed files with 3 additions and 3 deletions

View File

@ -149,7 +149,7 @@ public class ArtifactStringContent implements StringContent {
* Attribute source modules column.
*/
buffer.append("<td>"); //NON-NLS
buffer.append(StringUtils.join(attr.getSourceModules(), ", "));
buffer.append(StringUtils.join(attr.getSources(), ", "));
buffer.append("</td>"); //NON-NLS
buffer.append("</tr>\n"); //NON-NLS

View File

@ -111,8 +111,8 @@ final class CustomArtifactsCreatorIngestModule extends FileIngestModuleAdapter {
* The second attempt should have no effect on the data.
*/
for (BlackboardAttribute attr : attributes) {
attr.addSourceModule("Added Module");
attr.addSourceModule("Added Module");
attr.addSource("Added Module");
attr.addSource("Added Module");
}
} catch (TskCoreException ex) {