From 37466b7f5348544dbbceb4b973061be99b4c3a74 Mon Sep 17 00:00:00 2001 From: Harald Martini <harald.martini@student.tugraz.at> Date: Wed, 24 Aug 2022 09:40:55 +0200 Subject: [PATCH] deleted comments from FollowUpSimulatorFactory property --- .../Impl/SimulatorFactory/SimulatorFactory.cs | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/VectoCore/VectoCore/Models/Simulation/Impl/SimulatorFactory/SimulatorFactory.cs b/VectoCore/VectoCore/Models/Simulation/Impl/SimulatorFactory/SimulatorFactory.cs index bbb72c4f4c..dcee463d4e 100644 --- a/VectoCore/VectoCore/Models/Simulation/Impl/SimulatorFactory/SimulatorFactory.cs +++ b/VectoCore/VectoCore/Models/Simulation/Impl/SimulatorFactory/SimulatorFactory.cs @@ -76,15 +76,10 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl.SimulatorFactory { get { - //if (!CreateFollowUpSimulatorFactory) - // return null; + + + return _followUpSimulatorFactoryCreator?.GetNextFactory(); - if (_followUpSimulatorFactoryCreator != null) { - return _followUpSimulatorFactoryCreator.GetNextFactory(); - } else { - return null; - } - //return _followingSimulatorFactoryCreator?.Invoke(); } } -- GitLab