Repository: cxf Updated Branches: refs/heads/master 5cff82c73 -> 62060f8bc
Another redundant final modifier Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/62060f8b Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/62060f8b Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/62060f8b Branch: refs/heads/master Commit: 62060f8bc1f4d85b77ff136cb0576049312b8541 Parents: 5cff82c Author: Daniel Kulp <[email protected]> Authored: Fri Nov 18 11:46:02 2016 -0500 Committer: Daniel Kulp <[email protected]> Committed: Fri Nov 18 11:46:02 2016 -0500 ---------------------------------------------------------------------- .../cxf/jaxrs/sse/atmosphere/SseAtmosphereEventOutputImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/62060f8b/rt/rs/sse/src/main/java/org/apache/cxf/jaxrs/sse/atmosphere/SseAtmosphereEventOutputImpl.java ---------------------------------------------------------------------- diff --git a/rt/rs/sse/src/main/java/org/apache/cxf/jaxrs/sse/atmosphere/SseAtmosphereEventOutputImpl.java b/rt/rs/sse/src/main/java/org/apache/cxf/jaxrs/sse/atmosphere/SseAtmosphereEventOutputImpl.java index 0a85d3f..439c96d 100644 --- a/rt/rs/sse/src/main/java/org/apache/cxf/jaxrs/sse/atmosphere/SseAtmosphereEventOutputImpl.java +++ b/rt/rs/sse/src/main/java/org/apache/cxf/jaxrs/sse/atmosphere/SseAtmosphereEventOutputImpl.java @@ -88,7 +88,7 @@ public class SseAtmosphereEventOutputImpl implements SseEventOutput { @Override public void write(OutboundSseEvent event) throws IOException { if (!closed && writer != null) { - try (final ByteArrayOutputStream os = new ByteArrayOutputStream()) { + try (ByteArrayOutputStream os = new ByteArrayOutputStream()) { writer.writeTo(event, event.getClass(), null, new Annotation [] {}, event.getMediaType(), null, os); // Atmosphere broadcasts asynchronously which is acceptable in most cases.
