Skip to content

Commit

Permalink
Removing a few whitespace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
escowles committed Apr 8, 2015
1 parent 3a0528c commit ac6de9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Expand Up @@ -48,6 +48,7 @@
import java.net.URISyntaxException;
import java.util.Date;
import java.util.Iterator;

import javax.inject.Inject;
import javax.jcr.AccessDeniedException;
import javax.jcr.Binary;
Expand Down Expand Up @@ -613,5 +614,4 @@ private static URI checksumURI( final String checksum ) {
}
return null;
}

}
Expand Up @@ -87,7 +87,7 @@ public Message getMessage(final FedoraEvent jcrEvent,
message.setLongProperty(TIMESTAMP_HEADER_NAME, jcrEvent.getDate());
String path = jcrEvent.getPath();
if ( path.endsWith("/" + JCR_CONTENT) ) {
path = path.replaceAll("/" + JCR_CONTENT, "");
path = path.replaceAll("/" + JCR_CONTENT,"");
}

// extract baseURL and userAgent from event UserData
Expand All @@ -113,7 +113,7 @@ public Message getMessage(final FedoraEvent jcrEvent,

message.setStringProperty(IDENTIFIER_HEADER_NAME, path);
message.setStringProperty(EVENT_TYPE_HEADER_NAME, getEventURIs( jcrEvent
.getTypes() ));
.getTypes()));
message.setStringProperty(BASE_URL_HEADER_NAME, baseURL);
message.setStringProperty(USER_HEADER_NAME, jcrEvent.getUserID());
message.setStringProperty(USER_AGENT_HEADER_NAME, userAgent);
Expand Down Expand Up @@ -165,4 +165,5 @@ public String apply(final Integer type) {
}

private static final Logger LOGGER = getLogger(DefaultMessageFactory.class);

}

0 comments on commit ac6de9a

Please sign in to comment.