mbaedke commented on code in PR #1869:
URL: https://github.com/apache/jackrabbit-oak/pull/1869#discussion_r1850165212
##########
oak-core-spi/src/test/java/org/apache/jackrabbit/oak/spi/whiteboard/DefaultWhiteboardTest.java:
##########
@@ -38,47 +37,47 @@ public void createWhiteboard() {
@Test
public void filteredTracker() {
- whiteboard.register(Service1.class, new Service1("s1"),
ImmutableMap.of());
- whiteboard.register(Service2.class, new Service2("s2"),
ImmutableMap.of("role", "myrole"));
- whiteboard.register(Service3.class, new Service3("s3_1"),
ImmutableMap.of());
- whiteboard.register(Service3.class, new Service3("s3_2"),
ImmutableMap.of("role", "myrole"));
- whiteboard.register(Service3.class, new Service3("s3_3"),
ImmutableMap.of("role", "myotherrole", "id", 1024));
+ whiteboard.register(Service1.class, new Service1("s1"), Map.of());
+ whiteboard.register(Service2.class, new Service2("s2"), Map.of("role",
"myrole"));
+ whiteboard.register(Service3.class, new Service3("s3_1"), Map.of());
+ whiteboard.register(Service3.class, new Service3("s3_2"),
Map.of("role", "myrole"));
+ whiteboard.register(Service3.class, new Service3("s3_3"),
Map.of("role", "myotherrole", "id", 1024));
Review Comment:
probably not deliberate
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]