Skip to content

Commit d761a92

Browse files
fix thermalStorages inside ThermalUnitValidationUtils
1 parent 957bf49 commit d761a92

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/main/java/edu/ie3/datamodel/utils/validation/ThermalUnitValidationUtils.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,7 @@ private ThermalUnitValidationUtils() {
8989
}
9090

9191
// Validate storages
92-
for (ThermalStorageInput storage :
93-
Stream.concat(
94-
thermalGrid.heatStorages().stream(),
95-
thermalGrid.domesticHotWaterStorages().stream())
96-
.toList()) {
92+
for (ThermalStorageInput storage : thermalGrid.storages()) {
9793
exceptions.addAll(check(storage));
9894
}
9995

0 commit comments

Comments
 (0)