Polish
This commit is contained in:
parent
f1018ba38a
commit
ea52a44e62
|
|
@ -89,7 +89,7 @@ final class PulsarPropertiesMapper {
|
|||
try {
|
||||
return sortedParams.entrySet()
|
||||
.stream()
|
||||
.map((e) -> "\"%s\":\"%s\"".formatted(e.getKey(), e.getValue()))
|
||||
.map((entry) -> "\"%s\":\"%s\"".formatted(entry.getKey(), entry.getValue()))
|
||||
.collect(Collectors.joining(",", "{", "}"));
|
||||
}
|
||||
catch (Exception ex) {
|
||||
|
|
|
|||
|
|
@ -556,7 +556,6 @@ class RabbitAutoConfigurationTests {
|
|||
Object virtualThread = ReflectionTestUtils.getField(taskExecutor, "virtualThreadFactory");
|
||||
Thread threadCreated = ((ThreadFactory) virtualThread).newThread(mock(Runnable.class));
|
||||
assertThat(threadCreated.getName()).containsPattern("rabbit-simple-[0-9]+");
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -573,7 +572,6 @@ class RabbitAutoConfigurationTests {
|
|||
Object virtualThread = ReflectionTestUtils.getField(taskExecutor, "virtualThreadFactory");
|
||||
Thread threadCreated = ((ThreadFactory) virtualThread).newThread(mock(Runnable.class));
|
||||
assertThat(threadCreated.getName()).containsPattern("rabbit-direct-[0-9]+");
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue