diff options
author | Philip Langer | 2016-08-22 07:44:52 +0000 |
---|---|---|
committer | Laurent Delaigue | 2016-09-13 07:45:56 +0000 |
commit | d27ccfd2eeab02689be473aa36bd507238f5e6cd (patch) | |
tree | 774db52471adbd6d82deaf9c44b587b469308e98 | |
parent | 776044b8a9d95e30770233fdfd1bce28228dc9a2 (diff) | |
download | org.eclipse.emf.compare-d27ccfd2eeab02689be473aa36bd507238f5e6cd.tar.gz org.eclipse.emf.compare-d27ccfd2eeab02689be473aa36bd507238f5e6cd.tar.xz org.eclipse.emf.compare-d27ccfd2eeab02689be473aa36bd507238f5e6cd.zip |
Fix Javadoc of ComparisonUtil.getAssociatedDiffs
The Javadoc did not mention that getAssociatedDiffs would include
diff.getRefines() even though the JavaDoc explicitly lists all diffs
that would be included. Since it is quite an important aspect whether or
not diff.getRefines() is included, we now mention it explicitly.
Change-Id: If94780d3a1ac410bb36b601115e31fae4de3f504
Signed-off-by: Philip Langer <planger@eclipsesource.com>
-rw-r--r-- | plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/internal/utils/ComparisonUtil.java | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/internal/utils/ComparisonUtil.java b/plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/internal/utils/ComparisonUtil.java index 43b964388..5e6a8539f 100644 --- a/plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/internal/utils/ComparisonUtil.java +++ b/plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/internal/utils/ComparisonUtil.java @@ -393,23 +393,17 @@ public final class ComparisonUtil { * diffs (see {@link DiffUtil#getSubDiffs(boolean)}) of these associated diffs. * <p> * The associated diffs of a diff are : - * <p> - * - {@link Diff#getRequiredBy()} if the source of the diff is the left side and the direction of the - * merge is right to left. - * </p> - * <p> - * - {@link Diff#getRequiredBy()} if the source of the diff is the right side and the direction of the - * merge is left to right. - * </p> - * <p> - * - {@link Diff#getRequires()} if the source of the diff is the left side and the direction of the merge - * is left to right. - * </p> - * <p> - * - {@link Diff#getRequires()} if the source of the diff is the right side and the direction of the merge - * is right to left. - * </p> * </p> + * <li>{@link Diff#getRequiredBy()} if the source of the diff is the left side and the direction of the + * merge is right to left.</li> + * <li>{@link Diff#getRequiredBy()} if the source of the diff is the right side and the direction of the + * merge is left to right.</li> + * <li>{@link Diff#getRequires()} if the source of the diff is the left side and the direction of the + * merge is left to right.</li> + * <li>{@link Diff#getRequires()} if the source of the diff is the right side and the direction of the + * merge is right to left.</li> + * <li>{@link Diff#getRefines()} in any case.</li> + * </ul> * * @param diffRoot * the given diff. |