Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3337

Show a warning message in AbstractTreeModel.getPath()

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 8.0.2
    • None
    • None

      It's better to show a warning message like The default implementation of AbstractTreeModel.getPath() is inefficient, overriding this method is suggested when the method is called.

      The reasons are:

      • Although we hint the potential problem in documentation , users mostly don't read when it works.
      • When users extend AbstractTreeModel, it usually means they need something other than DefaultTreeModel. It mostly means they should override getPath() in their case.
      • Show the warning may save debugging time for us and users.

            Unassigned Unassigned
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: