Typo in code example in Java Tutorial

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: docs

      A DESCRIPTION OF THE PROBLEM :
      In the TemporalQueries section of Date/Time API trail(link - https://docs.oracle.com/javase/tutorial/datetime/iso/queries.html ) there is a typo in the first code snippet

      TemporalQueries query = TemporalQueries.precision();
      should be changed to
      TemporalQuery query = TemporalQueries.precision();
      Note the type of query variable.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Go to https://docs.oracle.com/javase/tutorial/datetime/iso/queries.html and check the first code snippet


      FREQUENCY : always


            Assignee:
            Raymond Gallardo
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: