Issue Details (XML | Word | Printable)

Key: FIRSTCUP-2
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Ian Evans
Reporter: Ian Evans
Votes: 0
Watchers: 0
Operations

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

Typos in First Cup instructions

Created: 30/Sep/10 11:04 AM   Updated: 09/May/11 04:34 PM   Resolved: 09/May/11 04:24 PM
Component/s: doc
Affects Version/s: 2.0.2-6
Fix Version/s: 2.0.3

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: All


Issuezilla Id: 2
Tags:
Participants: Ian Evans


 Description  « Hide

Moving from:
https://javaeetutorial.dev.java.net/issues/show_bug.cgi?id=13

On page http://download-llnw.oracle.com/javaee/6/firstcup/doc/gcrkm.html there
is a small typo in the source of “Implement the getText Method� section:

Calendar now = GregorialCalendar.getInstance();

should be

Calendar now = GregorianCalendar.getInstance();

-------

This should be fixed.

------- Additional comments from chaase3 Thu Sep 30 17:58:11 +0000 2010 -------

The same user noted some additional typos:

1. a. In section “Add a Named Query to the FirstcupUser Entity�:

@NamedQuery(name="findAverageAgeDifferenceOfAllFirstcupUsers",

query="SELECT AVG(u.ageDifference) FROM FirstcupUser u)

should be

@NamedQuery(name="findAverageAgeDifferenceOfAllFirstcupUsers",

query="SELECT AVG(u.ageDifference) FROM FirstcupUser u")

(Closing quotation mark missing).

1. b. Also Fix imports required after adding this text.

2. „Creating the DukesBDay Managed Bean Classâ€� â€" „Adding an Enterprise Bean
Reference� - Step 1:
Right-click in the editor window, select „Insert code…� and select Call
Enterprise Bean.
4. Logger declarations should be private static final everywhere instead of
private static

He also noted the ordering problem with the birthday bean tasks, but we have
fixed that for the next docarch push.



Ian Evans added a comment - 01/Oct/10 03:41 PM

Fixed issues in doc and example source.


Ian Evans added a comment - 09/May/11 04:24 PM

Fixed the documentation source in preparation for Java EE 6 SDK update.