Skip to content

Commit

Permalink
fix: typo in ProcessModule (#915)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sviatose authored Feb 12, 2024
1 parent 741e4d4 commit 449219b
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand All @@ -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;
}
Expand Down

0 comments on commit 449219b

Please sign in to comment.