Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2-6
    • Fix Version/s: 2.0.3
    • Component/s: doc
    • Labels:
      None
    • 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.

        Activity

        Hide
        Ian Evans added a comment -

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

        Show
        Ian Evans added a comment - Fixed the documentation source in preparation for Java EE 6 SDK update.
        Hide
        Ian Evans added a comment -

        Fixed issues in doc and example source.

        Show
        Ian Evans added a comment - Fixed issues in doc and example source.

          People

          • Assignee:
            Ian Evans
            Reporter:
            Ian Evans
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: