From 8bc65e84a4348d47dce4522a450b9df4363aa18d Mon Sep 17 00:00:00 2001 From: Sviatoslav Eroshkin <109044598+Sviatose@users.noreply.github.com> Date: Mon, 12 Feb 2024 14:41:05 +0000 Subject: [PATCH] fix: typo in ProcessModule --- .../processSimulation/processSystem/ProcessModule.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/neqsim/processSimulation/processSystem/ProcessModule.java b/src/main/java/neqsim/processSimulation/processSystem/ProcessModule.java index b3c0348a25..b8155e99de 100644 --- a/src/main/java/neqsim/processSimulation/processSystem/ProcessModule.java +++ b/src/main/java/neqsim/processSimulation/processSystem/ProcessModule.java @@ -3,11 +3,9 @@ import java.util.ArrayList; import java.util.List; import java.util.UUID; - import org.apache.commons.lang.SerializationUtils; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; - import neqsim.processSimulation.SimulationBaseClass; import neqsim.processSimulation.processEquipment.ProcessEquipmentInterface; import neqsim.processSimulation.processEquipment.util.Recycle; @@ -233,7 +231,7 @@ public Object getUnit(String name) { * @param name the name of the unit to retrieve * @return the unit with the given name, or {@code null} if no such unit is found */ - public Object getMeasurumentDevice(String name) { + public Object getMeasurementDevice(String name) { for (ProcessSystem processSystem : addedUnitOperations) { Object unit = processSystem.getMeasurementDevice(name); if (unit != null) { @@ -242,7 +240,7 @@ public Object getMeasurumentDevice(String name) { } for (ProcessModule processModule : addedModules) { - Object unit = processModule.getMeasurumentDevice(name); + Object unit = processModule.getMeasurementDevice(name); if (unit != null) { return unit; }