Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typo in ProcessModule #915

Merged
merged 1 commit into from
Feb 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading