Skip to content

Commit

Permalink
Merge pull request #543 from apache/bloom-statics
Browse files Browse the repository at this point in the history
make a couple methods static
  • Loading branch information
jmalkin authored Apr 8, 2024
2 parents 4f74acc + 9b89c91 commit de00d56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

public class DirectBitArrayRTest {

private Memory bitArrayToMemory(HeapBitArray ba) {
private static Memory bitArrayToMemory(HeapBitArray ba) {
// assumes we're using small enough an array to test that
// size can be measured with an int
final int numBytes = (int) ba.getSerializedSizeBytes();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

public class DirectBitArrayTest {

private WritableMemory bitArrayToWritableMemory(HeapBitArray ba) {
private static WritableMemory bitArrayToWritableMemory(HeapBitArray ba) {
// assumes we're using small enough an array to test that
// size can be measured with an int
final int numBytes = (int) ba.getSerializedSizeBytes();
Expand Down

0 comments on commit de00d56

Please sign in to comment.