From 5ff7ad2f4383b9d555bced23b0ed4538a78ad132 Mon Sep 17 00:00:00 2001
From: Reiner Jung <reiner.jung@email.uni-kiel.de>
Date: Thu, 6 Jul 2023 23:11:54 +0200
Subject: [PATCH] Fixed minor issue

---
 .../tools/fxca/TeetimeConfiguration.java      |  4 +-
 .../dataflow/CommonBlockArgumentDataflow.java | 56 -------------------
 2 files changed, 1 insertion(+), 59 deletions(-)
 delete mode 100644 tools/fxca/src/main/java/org/oceandsl/tools/fxca/stages/dataflow/CommonBlockArgumentDataflow.java

diff --git a/tools/fxca/src/main/java/org/oceandsl/tools/fxca/TeetimeConfiguration.java b/tools/fxca/src/main/java/org/oceandsl/tools/fxca/TeetimeConfiguration.java
index 28a61ca2..34113a19 100644
--- a/tools/fxca/src/main/java/org/oceandsl/tools/fxca/TeetimeConfiguration.java
+++ b/tools/fxca/src/main/java/org/oceandsl/tools/fxca/TeetimeConfiguration.java
@@ -48,7 +48,6 @@ import org.oceandsl.tools.fxca.stages.calls.CreateOperationTableStage;
 import org.oceandsl.tools.fxca.stages.calls.ProcessOperationCallStage;
 import org.oceandsl.tools.fxca.stages.dataflow.AggregateCommonBlocksStage;
 import org.oceandsl.tools.fxca.stages.dataflow.AggregateDataflowStage;
-import org.oceandsl.tools.fxca.stages.dataflow.CommonBlockArgumentDataflow;
 import org.oceandsl.tools.fxca.stages.dataflow.ComputeDirectionalityOfParametersStage;
 import org.oceandsl.tools.fxca.stages.dataflow.CreateCallerCalleeDataflowTableStage;
 import org.oceandsl.tools.fxca.stages.dataflow.CreateCommonBlockDataflowTableStage;
@@ -215,7 +214,7 @@ public class TeetimeConfiguration extends Configuration {
                     result.add(line.substring(marker, i));
                     mode = 0;
                 }
-            } else if ((mode == 3) && (ch == ',')) {
+            } else if (mode == 3 && ch == ',') {
                 mode = 0;
             }
         }
@@ -242,4 +241,3 @@ public class TeetimeConfiguration extends Configuration {
         operation.setModule(module);
     }
 }
-
diff --git a/tools/fxca/src/main/java/org/oceandsl/tools/fxca/stages/dataflow/CommonBlockArgumentDataflow.java b/tools/fxca/src/main/java/org/oceandsl/tools/fxca/stages/dataflow/CommonBlockArgumentDataflow.java
deleted file mode 100644
index f1d319a0..00000000
--- a/tools/fxca/src/main/java/org/oceandsl/tools/fxca/stages/dataflow/CommonBlockArgumentDataflow.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/***************************************************************************
- * Copyright (C) 2023 OceanDSL (https://oceandsl.uni-kiel.de)
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- ***************************************************************************/
-package org.oceandsl.tools.fxca.stages.dataflow;
-
-import org.oceandsl.analysis.code.stages.data.EDirection;
-import org.oceandsl.tools.fxca.stages.dataflow.data.IDataflowEntry;
-
-import lombok.Getter;
-import lombok.Setter;
-
-/**
- * @author Reiner Jung
- * @since 1.3.0
- *
- */
-public class CommonBlockArgumentDataflow implements IDataflowEntry {
-
-    @Getter
-    private final String commonBlockName;
-
-    @Getter
-    private final String fileName;
-
-    @Getter
-    private final String moduleName;
-
-    @Getter
-    private final String operationName;
-
-    @Getter
-    @Setter
-    private EDirection direction;
-
-    public CommonBlockArgumentDataflow(final String commonBlockName, final String fileName, final String moduleName,
-            final String operationName, final EDirection direction) {
-        this.commonBlockName = commonBlockName;
-        this.fileName = fileName;
-        this.moduleName = moduleName;
-        this.operationName = operationName;
-        this.direction = direction;
-    }
-
-}
-- 
GitLab