clean up and organize

This commit is contained in:
2026-03-24 13:42:47 +00:00
parent b88a4e3c62
commit e3dc8f10c4
14 changed files with 105 additions and 79 deletions
@@ -17,7 +17,7 @@ public interface Container {
ObjectMapper getMapper();
Packer getPacker();
EmbeddedPacker getPacker();
StudioBackgroundTasks getBackgroundTasks();
@@ -60,7 +60,7 @@ public interface Container {
return current().getMapper();
}
static Packer packer() {
static EmbeddedPacker packer() {
return current().getPacker();
}
@@ -75,11 +75,11 @@ public interface Container {
}
}
record Packer(
record EmbeddedPacker(
p.packer.PackerWorkspaceService workspaceService,
Runnable shutdownAction) {
public Packer {
public EmbeddedPacker {
Objects.requireNonNull(workspaceService, "workspaceService");
Objects.requireNonNull(shutdownAction, "shutdownAction");
}
@@ -11,7 +11,7 @@ import java.util.List;
import static org.junit.jupiter.api.Assertions.assertEquals;
final class StudioPackerEventAdapterTest {
final class StudioEmbeddedPackerEventAdapterTest {
@Test
void forwardsScanEventsIntoStudioOperationEvents() {
final StudioEventBus globalBus = new StudioEventBus();