Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Elaborating code for awoods
  • Loading branch information
ajs6f committed Apr 14, 2015
1 parent 44d2343 commit 9afaa0d
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -147,7 +147,10 @@ public abstract class ContentExposingResource extends FedoraBaseResource {
protected abstract String externalPath();

protected Deskolemizer deskolemizer() {
return deskolemizer == null ? deskolemizer = new Deskolemizer(translator(), null) : deskolemizer;
if (deskolemizer != null) {
return deskolemizer;
}
return deskolemizer = new Deskolemizer(translator(), null);
}

protected Response getContent(final String rangeValue,
Expand Down

0 comments on commit 9afaa0d

Please sign in to comment.