fix small error (inverted logic)

obvious error that prevents process() from running in the normal case;
could be confusing to newcomers (which is who examples are really aimed toward)
This commit is contained in:
harvv 2015-05-19 20:40:03 -07:00
parent 282398aa80
commit e98d821ae4

View File

@ -98,7 +98,7 @@ class SampleFileIngestModule implements FileIngestModule {
@Override
public IngestModule.ProcessResult process(AbstractFile file) {
if (attrId != -1) {
if (attrId == -1) {
return IngestModule.ProcessResult.ERROR;
}