Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 6.0.4
    • Fix Version/s: 6.0.5
    • Component/s: doc
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      13

      Description

      Reported to the Java EE Documentation mailing list from a user.

      Hi,

      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.

        Activity

        Hide
        Kim Haase added a comment -

        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.

        Show
        Kim Haase added a comment - 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.
        Hide
        Ian Evans added a comment -

        Closing this issue, and opening up a new one in the firstcup issue tracker:
        https://firstcup.dev.java.net/issues/show_bug.cgi?id=2

        Show
        Ian Evans added a comment - Closing this issue, and opening up a new one in the firstcup issue tracker: https://firstcup.dev.java.net/issues/show_bug.cgi?id=2
        Hide
        jendrock added a comment -

        Removed the name of the user that reported the issue.

        Show
        jendrock added a comment - Removed the name of the user that reported the issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: