RFR: 8054449: Incompatible type in example code in TreePath

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Thu Feb 10 04:40:34 UTC 2022


The example code in TreePath throws
error: incompatible types: Object cannot be converted to DefaultMutableTreeNode
           getUserObject();
Fixed the example code

-------------

Commit messages:
 - 8054449: Incompatible type in example code in TreePath

Changes: https://git.openjdk.java.net/jdk/pull/7414/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7414&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8054449
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7414.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7414/head:pull/7414

PR: https://git.openjdk.java.net/jdk/pull/7414



More information about the client-libs-dev mailing list