[412827] Fix ArithmeticException on Tree Ruler annotations.96/14496/3
commite1e76c960d6cbf4797dcb1c938615eb41b3cda3b
authorAxel Richard <axel.richard@obeo.fr>
Fri, 12 Jul 2013 07:41:12 +0000 (12 09:41 +0200)
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>
Tue, 16 Jul 2013 08:57:43 +0000 (16 04:57 -0400)
tree5494b57719c90074a5c1c1cc649a0a8619d4b35d
parent51c49e147dbd1113ac4c9ec22a4d735a4cb0f580
[412827] Fix ArithmeticException on Tree Ruler annotations.

The TreeItem getLastVisibleItem(TreeItem item) method was searching for
visible child even when it was not expanded, but it shouldn't.

Bug: 412827
Change-Id: Idb2aff234ce41fa04ee0f5307439c8cbde082d43
plugins/org.eclipse.emf.compare.ide.ui/src/org/eclipse/emf/compare/ide/ui/internal/structuremergeviewer/EMFCompareDiffTreeRuler.java