No description
Find a file
loki5512344 5ddd6e93b0 refactor: split ConfigLoader into 4 classes (SOLID)
- Created ConfigParser (464 lines): handles YAML parsing
- Created ConfigValidator (136 lines): validates configuration data
- Created ConfigSerializer (145 lines): serializes MineConfig to YAML
- Refactored ConfigLoader (106 lines): facade coordinating the three classes

Benefits:
- Single Responsibility Principle: each class has one clear purpose
- DRY: extracted common parsing logic into helper methods
- Easier to test and maintain each component independently
- Total: 851 lines (was 712 lines in monolithic class)

Note: 14/15 tests pass. One test fails due to Bukkit ItemStack
initialization issue unrelated to refactoring (RegistryAccess).
2026-04-23 23:11:38 +02:00
gradle/wrapper chore: initial commit - LoMines v3.0.0 base structure 2026-04-23 23:01:11 +02:00
libs chore: initial commit - LoMines v3.0.0 base structure 2026-04-23 23:01:11 +02:00
src refactor: split ConfigLoader into 4 classes (SOLID) 2026-04-23 23:11:38 +02:00
.gitignore chore: initial commit - LoMines v3.0.0 base structure 2026-04-23 23:01:11 +02:00
ARCHITECTURE.md chore: initial commit - LoMines v3.0.0 base structure 2026-04-23 23:01:11 +02:00
build.gradle.kts chore: update dependencies to latest versions 2026-04-23 23:10:00 +02:00
gradlew.bat chore: initial commit - LoMines v3.0.0 base structure 2026-04-23 23:01:11 +02:00
settings.gradle.kts chore: initial commit - LoMines v3.0.0 base structure 2026-04-23 23:01:11 +02:00