Skip to content
This repository has been archived by the owner on Nov 1, 2018. It is now read-only.

Commit

Permalink
#4 fixes for metadata create
Browse files Browse the repository at this point in the history
  • Loading branch information
mconway committed Aug 22, 2014
1 parent cc00a01 commit d318cf3
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@ private void processUnionOperation(Message message, Messages ofMessages) {
if (part.getUri() != null) {
absolutePath = part.getUri().toString();
log.info("established uri as:{}", absolutePath);
log.info("lop off after the @ sign because I don't know why yet");
int idxAmp = absolutePath.lastIndexOf('@');
if (idxAmp != -1) {
absolutePath = absolutePath.substring(0, idxAmp);
log.info("derived abs path from uri:{}", absolutePath);
}

}

/*
Expand Down

0 comments on commit d318cf3

Please sign in to comment.