diff options
Diffstat (limited to 'plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/framework/NotifierTuple.java')
-rw-r--r-- | plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/framework/NotifierTuple.java | 148 |
1 files changed, 74 insertions, 74 deletions
diff --git a/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/framework/NotifierTuple.java b/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/framework/NotifierTuple.java index 7d107fc70..f357cd125 100644 --- a/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/framework/NotifierTuple.java +++ b/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/framework/NotifierTuple.java @@ -1,74 +1,74 @@ -/**
- * Copyright (c) 2012 Obeo.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Obeo - initial API and implementation
- */
-package org.eclipse.emf.compare.tests.framework;
-
-import org.eclipse.emf.common.notify.Notifier;
-
-/**
- * This represents a "use case" as EMF Compare understands it, i.e : two or three notifiers which are to be
- * compared and merged.
- *
- * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a>
- */
-public class NotifierTuple {
- /** "Left" notifier of this comparison. */
- private Notifier left;
-
- /** "Right" notifier of this comparison. */
- private Notifier right;
-
- /** common ancestor of {@link #left} and {@link #right}. */
- private Notifier origin;
-
- /**
- * Constructs a tuple given its content.
- *
- * @param left
- * The left Notifier.
- * @param right
- * The right Notifier.
- * @param origin
- * The Notifier that is to be considered as the common ancestor of <code>left</code> and
- * <code>right</code>.
- */
- public NotifierTuple(Notifier left, Notifier right, Notifier origin) {
- this.left = left;
- this.right = right;
- this.origin = origin;
- }
-
- /**
- * Returns the left Notifier of this comparison.
- *
- * @return The left Notifier of this comparison.
- */
- public Notifier getLeft() {
- return left;
- }
-
- /**
- * Returns the right Notifier of this comparison.
- *
- * @return The right Notifier of this comparison.
- */
- public Notifier getRight() {
- return right;
- }
-
- /**
- * Returns the origin Notifier of this comparison.
- *
- * @return The origin Notifier of this comparison.
- */
- public Notifier getOrigin() {
- return origin;
- }
-}
+/** + * Copyright (c) 2012 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + */ +package org.eclipse.emf.compare.tests.framework; + +import org.eclipse.emf.common.notify.Notifier; + +/** + * This represents a "use case" as EMF Compare understands it, i.e : two or three notifiers which are to be + * compared and merged. + * + * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a> + */ +public class NotifierTuple { + /** "Left" notifier of this comparison. */ + private Notifier left; + + /** "Right" notifier of this comparison. */ + private Notifier right; + + /** common ancestor of {@link #left} and {@link #right}. */ + private Notifier origin; + + /** + * Constructs a tuple given its content. + * + * @param left + * The left Notifier. + * @param right + * The right Notifier. + * @param origin + * The Notifier that is to be considered as the common ancestor of <code>left</code> and + * <code>right</code>. + */ + public NotifierTuple(Notifier left, Notifier right, Notifier origin) { + this.left = left; + this.right = right; + this.origin = origin; + } + + /** + * Returns the left Notifier of this comparison. + * + * @return The left Notifier of this comparison. + */ + public Notifier getLeft() { + return left; + } + + /** + * Returns the right Notifier of this comparison. + * + * @return The right Notifier of this comparison. + */ + public Notifier getRight() { + return right; + } + + /** + * Returns the origin Notifier of this comparison. + * + * @return The origin Notifier of this comparison. + */ + public Notifier getOrigin() { + return origin; + } +} |