Skip to content

Commit d91a05f

Browse files
committed
removed commented out code
1 parent 93410bd commit d91a05f

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/test/java/com/dynatrace/hash4j/hashing/AbstractHashStreamTest.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,15 @@ void testPutBooleanDefaultImplementation() {
3939
assertBytes(h -> h.putBoolean(true), "01");
4040
}
4141

42-
/*@Test
43-
void testPutBooleansDefaultImplementation() {
44-
assertBytes(h -> h.putBooleans(new boolean[] {true, false, true}), "010001");
45-
assertBytes(h -> h.putBooleans(new boolean[] {true, false, true},1,2), "0001");
46-
}*/
47-
48-
private static final void nextBooleans(SplittableRandom random, boolean[] b) {
42+
private static void nextBooleans(SplittableRandom random, boolean[] b) {
4943
byte[] bytes = new byte[b.length];
5044
random.nextBytes(bytes);
5145
for (int i = 0; i < bytes.length; ++i) {
5246
b[i] = ((bytes[i] & 1) != 0);
5347
}
5448
}
5549

56-
private static final byte[] toBytes(boolean[] data) {
50+
private static byte[] toBytes(boolean[] data) {
5751
byte[] result = new byte[data.length];
5852
for (int i = 0; i < data.length; ++i) {
5953
result[i] = (byte) (data[i] ? 1 : 0);

0 commit comments

Comments
 (0)