Skip to content

Commit

Permalink
More Sonar stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
ajs6f committed Apr 22, 2013
1 parent c12ccde commit 9973d85
Showing 1 changed file with 3 additions and 3 deletions.
@@ -1,6 +1,7 @@

package org.fcrepo.syndication;

import static com.google.common.base.Throwables.propagate;
import static com.google.common.collect.ImmutableList.copyOf;
import static com.google.common.collect.Lists.transform;
import static org.fcrepo.utils.EventType.getEventType;
Expand All @@ -19,7 +20,6 @@

import org.fcrepo.AbstractResource;
import org.joda.time.DateTime;
import org.modeshape.common.SystemFailureException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

Expand Down Expand Up @@ -48,7 +48,7 @@ public class RSSPublisher extends AbstractResource {
private static final String FEED_DESCRIPTION = FEED_TITLE;

@Autowired
EventBus eventBus;
private EventBus eventBus;

private final BlockingQueue<Event> feedQueue =
new ArrayBlockingQueue<Event>(FEED_LENGTH);
Expand Down Expand Up @@ -82,7 +82,7 @@ public SyndEntry apply(final Event event) {
.toString());
entry.setDescription(description);
} catch (final RepositoryException e) {
throw new SystemFailureException(e);
throw propagate(e);
}
return entry;
}
Expand Down

0 comments on commit 9973d85

Please sign in to comment.