Skip to content

Commit f056d83

Browse files
author
Vladimir Kotal
committed
fix comments
1 parent 02866f1 commit f056d83

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

opengrok-indexer/src/test/java/org/opengrok/indexer/history/FileHistoryCacheTest.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,12 @@ public void tearDown() {
116116
}
117117

118118
/**
119-
* Assert that two HistoryEntry objects are equal.
119+
* Assert that two lists of HistoryEntry objects are equal.
120120
*
121-
* @param expected the expected entry
122-
* @param actual the actual entry
121+
* @param expected the expected list of entries
122+
* @param actual the actual list of entries
123123
* @param isdir was the history generated for a directory
124-
* @throws AssertionError if the two entries don't match
124+
* @throws AssertionError if the two lists don't match
125125
*/
126126
private void assertSameEntries(List<HistoryEntry> expected, List<HistoryEntry> actual, boolean isdir) {
127127
assertEquals(expected.size(), actual.size(), "Unexpected size");
@@ -133,12 +133,12 @@ private void assertSameEntries(List<HistoryEntry> expected, List<HistoryEntry> a
133133
}
134134

135135
/**
136-
* Assert that two lists of HistoryEntry objects are equal.
136+
* Assert that two HistoryEntry objects are equal.
137137
*
138-
* @param expected the expected list of entries
139-
* @param actual the actual list of entries
138+
* @param expected the expected instance
139+
* @param actual the actual instance
140140
* @param isdir was the history generated for directory
141-
* @throws AssertionError if the two lists don't match
141+
* @throws AssertionError if the two instances don't match
142142
*/
143143
private void assertSameEntry(HistoryEntry expected, HistoryEntry actual, boolean isdir) {
144144
assertEquals(expected.getAuthor(), actual.getAuthor());

0 commit comments

Comments
 (0)