cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy McCright (JIRA)" <>
Subject [jira] [Created] (CXF-7462) OutboundSseEventImpl could use some minor tweaks
Date Tue, 01 Aug 2017 16:32:00 GMT
Andy McCright created CXF-7462:

             Summary: OutboundSseEventImpl could use some minor tweaks
                 Key: CXF-7462
             Project: CXF
          Issue Type: Improvement
          Components: JAX-RS
    Affects Versions: 3.2.0
            Reporter: Andy McCright
            Priority: Minor
             Fix For: 3.2.0

The OutboundSseEventImpl class could use some minor tweaks, including:
1) Make the fields final to reflect that the event is immutable.
2) Use defaults for the data type (String.class) and media type (SERVER_SENT_EVENT_TYPE).
3) Restrict the constructor's visibility.

I also plan to add some tests for these changes.

This message was sent by Atlassian JIRA

View raw message