complete Studio core and JavaFX boundary migration
Intrepid/Prometeu/Studio/pipeline/pr-master Build started...
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 64.01% (20482/31999) * Branch Coverage: 54.22% (8240/15196) * Lines of Code: 31999 * Cyclomatic Complexity: 13164 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 715
Intrepid/Prometeu/Studio/pipeline/head This commit looks good

This commit is contained in:
2026-09-25 11:28:18 +01:00
parent 10f1b3f87c
commit a0a5050d5e
461 changed files with 9319 additions and 7205 deletions
@@ -0,0 +1,18 @@
package p.studio.api.assets;
import java.util.Objects;
public record AssetCapacityState(
double progress,
AssetCapacityLevel level,
boolean blocked,
String labelText,
String hintText) {
public AssetCapacityState {
progress = Math.max(0.0d, Math.min(1.0d, progress));
level = Objects.requireNonNullElse(level, AssetCapacityLevel.SAFE);
labelText = Objects.requireNonNullElse(labelText, "");
hintText = Objects.requireNonNullElse(hintText, "");
}
}