Skip to content

Commit 405fac9

Browse files
committed
Ran clang-format
1 parent 284ed9f commit 405fac9

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/main/java/com/thealgorithms/datastructures/caches/RRCache.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,4 +502,4 @@ public Builder<K, V> evictionStrategy(EvictionStrategy<K, V> strategy) {
502502
return this;
503503
}
504504
}
505-
}
505+
}

src/test/java/com/thealgorithms/datastructures/caches/RRCacheTest.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ void setUp() {
2222
evictedValues = new ArrayList<>();
2323

2424
cache = new RRCache.Builder<String, String>(3)
25-
.defaultTTL(1000)
26-
.random(new Random(0))
27-
.evictionListener((k, v) -> {
28-
evictedKeys.add(k);
29-
evictedValues.add(v);
30-
})
31-
.build();
25+
.defaultTTL(1000)
26+
.random(new Random(0))
27+
.evictionListener((k, v) -> {
28+
evictedKeys.add(k);
29+
evictedValues.add(v);
30+
})
31+
.build();
3232
}
3333

3434
@Test
@@ -219,4 +219,4 @@ void testGetEvictionStrategyIsNotNull() {
219219

220220
Assertions.assertNotNull(newCache.getEvictionStrategy(), "Eviction strategy should never be null");
221221
}
222-
}
222+
}

0 commit comments

Comments
 (0)