Skip to content

Changes

Summary

  1. Fix: Graph nodes using the tree layout have an empty size. (details)
Commit 89280416c74a276d9bd6f563c20931e81604cc3c by Alois Zoitl
Fix: Graph nodes using the tree layout have an empty size.

Can be reproduced using the GraphJFaceSnippet6. The problem occurs
because a size() == 0 check has been wrongfully replaced with a
!isEmpty().

See https://github.com/eclipse/gef-classic/issues/443
Amends 2e860acc0b2e1e8847408141e00f787ee3aee9c1
The file was modified org.eclipse.zest.layouts/src/org/eclipse/zest/layouts/algorithms/TreeLayoutAlgorithm.java (diff)