Revision 2595

tmp/org.txm.core/src/java/org/txm/core/results/TXMResult.java (revision 2595)
1659 1659
		
1660 1660
		for (int i = 0; i < children.size(); i++) {
1661 1661
			TXMResult child = children.get(i);
1662
			if (clazz == null || child.getClass().asSubclass(clazz) != null) {
1662
			if (clazz == null || child.getClass().isAssignableFrom(clazz)) {
1663 1663
				results.add((T) child);
1664 1664
			}
1665 1665
			results.addAll(child.getDeepChildren(clazz));

Also available in: Unified diff