[FIRSTCUP-2] Typos in First Cup instructions Created: 30/Sep/10  Updated: 09/May/11  Resolved: 09/May/11

Status: Resolved
Project: firstcup
Component/s: doc
Affects Version/s: 2.0.2-6
Fix Version/s: 2.0.3

Type: Bug Priority: Major
Reporter: Ian Evans Assignee: Ian Evans
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 2

 Description   

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.



 Comments   
Comment by Ian Evans [ 01/Oct/10 ]

Fixed issues in doc and example source.

Comment by Ian Evans [ 09/May/11 ]

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

Generated at Tue Aug 30 18:36:53 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.