removed changes of method parameters

This commit is contained in:
wumpz
2017-04-04 07:53:27 +02:00
parent 9965544c8f
commit 3db65e3ef3
2 changed files with 3 additions and 17 deletions

View File

@@ -62,13 +62,6 @@ public final class DiffRow {
return oldLine;
}
/**
* @param oldLine the oldLine to set
*/
public void setOldLine(String oldLine) {
this.oldLine = oldLine;
}
/**
* @return the newLine
*/
@@ -76,13 +69,6 @@ public final class DiffRow {
return newLine;
}
/**
* @param newLine the newLine to set
*/
public void setNewLine(String newLine) {
this.newLine = newLine;
}
/*
* (non-Javadoc)
*

View File

@@ -207,10 +207,10 @@ public class DiffRowGenerator {
* @param patch the given patch
* @return the DiffRows between original and revised texts
*/
public List<DiffRow> generateDiffRows(List<String> original, List<String> revised, Patch<String> patch) throws DiffException {
public List<DiffRow> generateDiffRows(final List<String> originalText, final List<String> revisedText, Patch<String> patch) throws DiffException {
// normalize the lines (expand tabs, escape html entities)
original = StringUtils.normalize(original);
revised = StringUtils.normalize(revised);
List<String> original = StringUtils.normalize(originalText);
List<String> revised = StringUtils.normalize(revisedText);
// wrap to the column width
original = StringUtils.wrapText(original, this.columnWidth);