Skip to content

Commit

Permalink
Using uriFor instead of more verbose idTranslator invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
escowles committed Aug 26, 2015
1 parent dec0838 commit cf0014f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -70,7 +70,7 @@ public ReferencesRdfContext(final FedoraResource resource,
}

private final Predicate<Triple> INBOUND = t -> {
return t.getObject().getURI().equals(translator().reverse().convert(resource()).getURI());
return t.getObject().getURI().equals(uriFor(resource()).getURI());
};

@SuppressWarnings("unchecked")
Expand Down

0 comments on commit cf0014f

Please sign in to comment.