Skip to content

Commit a58e688

Browse files
authored
chore: remove unecessary params (#284)
1 parent ad91e35 commit a58e688

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/N3Store.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -378,24 +378,24 @@ export default class N3Store {
378378
if (objectId)
379379
// If subject and object are given, the object index will be the fastest
380380
yield* this._findInIndex(content.objects, objectId, subjectId, predicateId,
381-
'object', 'subject', 'predicate', graphId, null, true);
381+
'object', 'subject', 'predicate', graphId);
382382
else
383383
// If only subject and possibly predicate are given, the subject index will be the fastest
384384
yield* this._findInIndex(content.subjects, subjectId, predicateId, null,
385-
'subject', 'predicate', 'object', graphId, null, true);
385+
'subject', 'predicate', 'object', graphId);
386386
}
387387
else if (predicateId)
388388
// If only predicate and possibly object are given, the predicate index will be the fastest
389389
yield* this._findInIndex(content.predicates, predicateId, objectId, null,
390-
'predicate', 'object', 'subject', graphId, null, true);
390+
'predicate', 'object', 'subject', graphId);
391391
else if (objectId)
392392
// If only object is given, the object index will be the fastest
393393
yield* this._findInIndex(content.objects, objectId, null, null,
394-
'object', 'subject', 'predicate', graphId, null, true);
394+
'object', 'subject', 'predicate', graphId);
395395
else
396396
// If nothing is given, iterate subjects and predicates first
397397
yield* this._findInIndex(content.subjects, null, null, null,
398-
'subject', 'predicate', 'object', graphId, null, true);
398+
'subject', 'predicate', 'object', graphId);
399399
}
400400
}
401401
}

0 commit comments

Comments
 (0)