Skip to content

Commit

Permalink
Using FedoraBinary.getDescription() instead of node-munging
Browse files Browse the repository at this point in the history
  • Loading branch information
escowles committed Oct 29, 2014
1 parent 1718401 commit f49c3fd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -152,7 +152,7 @@ protected String unversionedResourcePath() throws RepositoryException {
if (baseResource == null) {
baseResource = getResourceFromPath(externalPath);
if ( baseResource instanceof FedoraBinary ) {
return baseResource.getNode().getParent().getPath();
baseResource = ((FedoraBinary)baseResource).getDescription();
}
}

Expand Down

0 comments on commit f49c3fd

Please sign in to comment.