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

[Pagination] callback property default value is not specified.

XMLWordPrintable

      In docs on pagination control, default value of page factory is not specified.
      Now, I see, that it is null. I mean, If I call (new Pagination().getPageFactory()) == null.

      But some time before, when I wrote tests, I used checking:
      assertTrue((new Pagination().getPageFactory()) instanceof Callback);
      which was working well. But now it fails, because null is not an instance of Callback. So test fails.

      So I decided to request specifying this information in javadoc.

      Also, usage of null as value of page factory property is not specified in javadoc.

            kwwong Kinsley Wong (Inactive)
            akirov Alexander Kirov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: