JavaDoc for class Stop contains a typo

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 8, 9
    • Component/s: javafx
    • generic
    • generic

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      There is a typo in the example of class Stop:

      LinearGradient lg = new LinearGradient(0, 0, 1, 0, true, CycleMethod.No_CYCLE, stops);

      CycleMethod.No_CYCLE should be changed to CycleMethod.NO_CYCLE

      Link to the javadoc:
      https://docs.oracle.com/javase/9/docs/api/javafx/scene/paint/Stop.html


      REPRODUCIBILITY :
      This bug can be reproduced always.

            Assignee:
            Kevin Rushforth
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: