Skip to content
Permalink
Browse files

Making code more verbose for awoods

  • Loading branch information...
ajs6f committed Apr 14, 2015
1 parent 9afaa0d commit b1738b9f3f76af1b5fb7b7b5d60fb32a300257cf
Showing with 5 additions and 3 deletions.
  1. +5 −3 fcrepo-http-api/src/main/java/org/fcrepo/http/api/FedoraBaseResource.java
@@ -49,9 +49,11 @@
protected abstract Session session();

protected IdentifierConverter<Resource, FedoraResource> translator() {
return idTranslator == null ? idTranslator =
new HttpResourceConverter(session(), uriInfo.getBaseUriBuilder().clone().path(FedoraLdp.class))
: idTranslator;
if (idTranslator == null) {
idTranslator = new HttpResourceConverter(session(),
uriInfo.getBaseUriBuilder().clone().path(FedoraLdp.class));
}
return idTranslator;
}

/**

0 comments on commit b1738b9

Please sign in to comment.
You can’t perform that action at this time.