~gregor-middell/collatex/1.0development

« back to all changes in this revision

Viewing changes to collatex/src/main/java/eu/interedition/collatex2/todo/modifications/Replacement.java

  • Committer: Ronald Haentjens Dekker
  • Date: 2011-02-25 11:15:43 UTC
  • Revision ID: ronald.dekker@huygensinstituut.knaw.nl-20110225111543-76pz2ccgzt5k8a84
[RHD]
- More API cleanups:
- Removed getPosition() method from ICell interface
- Removed getPosition() method from IColumn interface
- Removed getWitnessForSigil method from IVariantGraphVertex interface
- Removed containsWitness(sigil) method from IVariantGraphVertex interface
- Deleted IAlignmentTableVisitor interface... no references anymore
- Deleted IInputPlugin interface... no references anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
    final String baseWords = _original.toString();
23
23
    // TODO Not getNormalized!
24
24
    final String replacementWords = _replacement.getNormalized();
25
 
    return "replacement: " + baseWords + " / " + replacementWords + " position: " + _original.getFirstColumn().getPosition();
 
25
    return "replacement: " + baseWords + " / " + replacementWords + " position: " + getPosition();
26
26
  }
27
27
 
28
28
  @Override
29
29
  public int getPosition() {
30
 
    return _original.getFirstColumn().getPosition();
 
30
    return -1;
31
31
  }
32
32
 
33
33
  @Override