Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

build jar file

  • Loading branch information...
commit 60a1654e5f3e8c94b540eec620311c11a3d4200e 1 parent 589e5cf
Chris Beer authored
BIN  fedora_akubra_mappers-0.0.2.jar
Binary file not shown
BIN  fedora_akubra_mappers-0.0.3.jar
Binary file not shown
2  src/info/cbeer/fcrepo/PairtreeDatastreamMapper.java
@@ -41,7 +41,7 @@ public URI getInternalId(URI externalId) throws NullPointerException {
41 41 String dsVersionId = uriParts[uriParts.length - 1];
42 42 String dsId = dsVersionId.substring(0, dsVersionId.lastIndexOf('.'));
43 43 String versionId = dsVersionId.substring(dsVersionId.lastIndexOf('.') + 1);
44   - String objId = "info:fedora/" + uriParts[uriParts.length - 3];
  44 + String objId = uriParts[uriParts.length - 3];
45 45
46 46 return URI.create(internalScheme + ":" + getPath(objId) + "/" + encode(objId) + "/data/" + encode(dsId) + "." + versionId);
47 47 }

0 comments on commit 60a1654

Please sign in to comment.
Something went wrong with that request. Please try again.