public class MergeVisitor extends Object implements org.apache.commons.jrcs.diff.RevisionVisitor
TODO: Support ignoring whitespace.
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Category |
log
Deprecated.
Since 5.5, use private logger
|
Constructor and Description |
---|
MergeVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
init(Object[] orig)
Initialise this visitor instance with a copy of the original object array being diffed.
|
void |
visit(org.apache.commons.jrcs.diff.AddDelta delta)
Implementation of the Revision Visitor interface.
|
void |
visit(org.apache.commons.jrcs.diff.ChangeDelta delta)
Implementation of the Revision Visitor interface.
|
void |
visit(org.apache.commons.jrcs.diff.DeleteDelta delta)
Implementation of the Revision Visitor interface.
|
void |
visit(org.apache.commons.jrcs.diff.Revision revision)
Implementation of the Revision Visitor interface.
|
boolean |
wasConflictDetected()
Returns true if a conflict was detected.
|
@Deprecated public static final org.apache.log4j.Category log
public boolean wasConflictDetected()
public void init(Object[] orig)
orig
- public void visit(org.apache.commons.jrcs.diff.Revision revision)
visit
in interface org.apache.commons.jrcs.diff.RevisionVisitor
revision
- public void visit(org.apache.commons.jrcs.diff.DeleteDelta delta)
visit
in interface org.apache.commons.jrcs.diff.RevisionVisitor
delta
- public void visit(org.apache.commons.jrcs.diff.ChangeDelta delta)
visit
in interface org.apache.commons.jrcs.diff.RevisionVisitor
delta
- public void visit(org.apache.commons.jrcs.diff.AddDelta delta)
visit
in interface org.apache.commons.jrcs.diff.RevisionVisitor
delta
- Copyright © 2003–2017 Atlassian. All rights reserved.