jms-spec
  1. jms-spec
  2. JMS_SPEC-120

Typo: in example, change .class() to .class

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: JMS 2.0 rev A
    • Labels:
      None

      Description

      The JMS spec contains the following code in an example:

      StockObject stockObject = message.getBody(StockObject.class());
      

      This is incorrect. It should be changed to

      StockObject stockObject = message.getBody(StockObject.class);
      

      i.e. class should not be followed by ().

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Nigel Deakin
            Reporter:
            Nigel Deakin
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: