Issue Details (XML | Word | Printable)

Key: JMS_SPEC-120
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Nigel Deakin
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

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

Created: 26/Apr/13 11:50 AM   Updated: 26/Apr/13 11:50 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Tags: jms20-bug
Participants: Nigel Deakin

 Description  « Hide

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 ().

Sort Order: Ascending order - Click to sort in descending order
No changes have yet been made on this issue.