@@ -116,12 +116,12 @@ public void tearDown() {
116
116
}
117
117
118
118
/**
119
- * Assert that two HistoryEntry objects are equal.
119
+ * Assert that two lists of HistoryEntry objects are equal.
120
120
*
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
123
123
* @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
125
125
*/
126
126
private void assertSameEntries (List <HistoryEntry > expected , List <HistoryEntry > actual , boolean isdir ) {
127
127
assertEquals (expected .size (), actual .size (), "Unexpected size" );
@@ -133,12 +133,12 @@ private void assertSameEntries(List<HistoryEntry> expected, List<HistoryEntry> a
133
133
}
134
134
135
135
/**
136
- * Assert that two lists of HistoryEntry objects are equal.
136
+ * Assert that two HistoryEntry objects are equal.
137
137
*
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
140
140
* @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
142
142
*/
143
143
private void assertSameEntry (HistoryEntry expected , HistoryEntry actual , boolean isdir ) {
144
144
assertEquals (expected .getAuthor (), actual .getAuthor ());
0 commit comments