Skip to content

Commit c3434ed

Browse files
Update core/src/main/java/org/apache/accumulo/core/spi/compaction/CompactorGroupId.java
Co-authored-by: Keith Turner <kturner@apache.org>
1 parent a788206 commit c3434ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/apache/accumulo/core/spi/compaction/CompactorGroupId.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ private CompactorGroupId(String canonical) {
4848
* @return CompactorGroupId object
4949
*/
5050
public static CompactorGroupId of(String canonical) {
51-
return cache.get(canonical, k -> new CompactorGroupId(canonical));
51+
return cache.get(canonical, CompactorGroupId::new);
5252
}
5353
}

0 commit comments

Comments
 (0)