clean up and organize
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
+1
-1
@@ -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();
|
||||
Reference in New Issue
Block a user