Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
pgomulka committed May 17, 2024
1 parent 269dc8e commit 1687fa0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public interface DocumentSizeAccumulator {
public void add(long size) {}

@Override
public Map<String, String> totalDocSizeMap(Map<String, String> map) {
public Map<String, String> getAndReset(Map<String, String> map) {
return map;
}
};
Expand All @@ -37,5 +37,5 @@ public Map<String, String> totalDocSizeMap(Map<String, String> map) {
* @param map a map with previous value of size
* @return an map with a new value of size
*/
Map<String, String> totalDocSizeMap(Map<String, String> map);
Map<String, String> getAndReset(Map<String, String> map);
}

0 comments on commit 1687fa0

Please sign in to comment.