Skip to content

Commit

Permalink
fix: Incorrect initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroh committed Jul 23, 2024
1 parent 4224a0d commit 9ddb5ed
Showing 1 changed file with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import org.apache.logging.log4j.Logger
import project.MergeCommit
import project.Project
import services.dataCollectors.GenericMerge.executors.GenericMergeToolExecutor
import services.dataCollectors.GenericMerge.executors.JDimeMergeToolExecutor
import services.dataCollectors.GenericMerge.executors.MergeToolExecutor
import services.dataCollectors.GenericMerge.model.MergeCommitExecutionSummary
import services.dataCollectors.GenericMerge.model.MergeScenarioExecutionSummary
Expand All @@ -20,14 +19,10 @@ import java.util.stream.Collectors
class GenericMergeDataCollector implements DataCollector {
private static Logger LOG = LogManager.getLogger(GenericMergeDataCollector.class)

private final List<MergeToolExecutor> mergeToolExecutors

GenericMergeDataCollector() {
this.mergeToolExecutors = Arrays.asList([
new GenericMergeToolExecutor(),
new JDimeMergeToolExecutor()
])
}
private final List<MergeToolExecutor> mergeToolExecutors = Arrays.asList(
new GenericMergeToolExecutor(),
new JDimeMergeToolExecutor()
)

@Override
void collectData(Project project, MergeCommit mergeCommit) {
Expand Down

0 comments on commit 9ddb5ed

Please sign in to comment.