File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
opengrok-indexer/src/main/java/org/opengrok/indexer/history Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 38
38
*/
39
39
public class BoundaryChangesets implements IChangesetVisitor {
40
40
private int cnt = 0 ;
41
- private String lastId = null ;
42
41
private final List <String > result = new ArrayList <>();
43
42
44
43
private final int maxCount ;
@@ -57,7 +56,6 @@ public BoundaryChangesets(RepositoryWithPerPartesHistory repository) {
57
56
58
57
private void reset () {
59
58
cnt = 0 ;
60
- lastId = null ;
61
59
result .clear ();
62
60
}
63
61
@@ -90,8 +88,7 @@ public synchronized List<String> getBoundaryChangesetIDs(String sinceRevision) t
90
88
@ Override
91
89
public void visit (String id ) {
92
90
if (cnt != 0 && cnt % maxCount == 0 ) {
93
- lastId = id ;
94
- result .add (lastId );
91
+ result .add (id );
95
92
}
96
93
cnt ++;
97
94
}
You can’t perform that action at this time.
0 commit comments