Skip to content

Commit

Permalink
fix spotless check
Browse files Browse the repository at this point in the history
  • Loading branch information
Dharin-shah committed Dec 9, 2023
1 parent 020503c commit 43d2d4e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,6 @@ static int capacity(int expectedSize) {
return expectedSize < 2 ? expectedSize + 1 : (int) (expectedSize / 0.75 + 1.0);
}


/**
* Reads a {@link Map} from a data source using provided key and value readers and a map constructor.
*
Expand Down Expand Up @@ -706,7 +705,7 @@ static int capacity(int expectedSize) {
* @throws IOException If an I/O error occurs during reading from the data source.
*/
private <K, V> Map<K, V> readMap(Writeable.Reader<K> keyReader, Writeable.Reader<V> valueReader, IntFunction<Map<K, V>> constructor)
throws IOException {
throws IOException {
int size = readArraySize();
if (size == 0) {
return Collections.emptyMap();
Expand Down

0 comments on commit 43d2d4e

Please sign in to comment.