Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8192052

JavaDoc for class Stop contains a typo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 8, 9
    • 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.

            kcr Kevin Rushforth
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: