Skip to content

Commit 0f355a6

Browse files
author
Evgenii Grigorev
committed
Removed workarounds that are no longer necessary
1 parent 800ae9a commit 0f355a6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

s-pipes-core/src/main/java/cz/cvut/spipes/logging/AdvancedLoggingProgressListener.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ private void persistPipelineExecutionStarted(final EntityManager em, long pipeli
134134
addProperty(pipelineExecution, SPIPES.has_pipeline_execution_start_date, startDate);
135135
addProperty(pipelineExecution, SPIPES.has_pipeline_execution_start_date_unix, startDate.getTime());
136136
addProperty(pipelineExecution, SPIPES.has_executed_function_name, functionName);
137-
((PipelineExecution) pipelineExecution).setHas_executed_function_name(functionName); // TODO remove this setter when addProperty will correctly set the value
138137
addProperty(pipelineExecution, SPIPES.has_executed_function_script_path, scriptPath);
139138

140139
if (pipelineExecutionGroupId != null) {
@@ -191,7 +190,6 @@ private void persistPipelineExecutionFinished(final EntityManager em, final long
191190
addProperty(pipelineExecution, SPIPES.has_pipeline_execution_finish_date, finishDate);
192191
addProperty(pipelineExecution, SPIPES.has_pipeline_execution_finish_date_unix, finishDate.getTime());
193192
addProperty(pipelineExecution, SPIPES.has_pipeline_execution_duration, computeDuration(startDate, finishDate));
194-
pipelineExecution.setHas_pipeline_name(pipelineName); // TODO remove this setter when addProperty will correctly set the value
195193
addProperty(pipelineExecution, SPIPES.has_pipeline_name, pipelineName);
196194
addProperty(pipelineExecution, SPIPES.has_pipeline_execution_status, "FINISHED");
197195
// addScript(pipelineExecution, scriptManager.getScriptByContextId(pipelineName));

0 commit comments

Comments
 (0)