Skip to content

Commit

Permalink
Remove unused argument
Browse files Browse the repository at this point in the history
This will not be needed until the Palladio-Addons-PlantUML supports
ResourceEnvironments, which might still be far away. Better keep the
code base clean until then.
  • Loading branch information
FloBoJa committed Jan 25, 2024
1 parent 1188614 commit 4e23852
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,14 @@ public class PlantUmlJob extends AbstractBlackboardInteractingJob<RetrieverBlack
private final String allocationKey;
private final URI outputFolder;
private final String repositoryKey;
// Unused until we implement resource environment transformation for PlanUML.
@SuppressWarnings("unused")
private final String resourceEnvironmentKey;
private final String systemKey;

public PlantUmlJob(final RetrieverBlackboard blackboard, final URI outputFolder, final String repositoryKey,
final String systemKey, final String allocationKey, final String resourceEnvironmentKey) {
final String systemKey, final String allocationKey) {
super.setBlackboard(Objects.requireNonNull(blackboard));
this.repositoryKey = Objects.requireNonNull(repositoryKey);
this.systemKey = Objects.requireNonNull(systemKey);
this.allocationKey = Objects.requireNonNull(allocationKey);
this.resourceEnvironmentKey = Objects.requireNonNull(resourceEnvironmentKey);
this.outputFolder = Objects.requireNonNull(outputFolder);

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ public RetrieverJob(final RetrieverConfiguration configuration) {
super.add(new PlantUmlJob(getBlackboard(), configuration.getOutputFolder(),
RetrieverBlackboardKeys.RULE_ENGINE_MOCORE_OUTPUT_REPOSITORY,
RetrieverBlackboardKeys.RULE_ENGINE_MOCORE_OUTPUT_SYSTEM,
RetrieverBlackboardKeys.RULE_ENGINE_MOCORE_OUTPUT_ALLOCATION,
RetrieverBlackboardKeys.RULE_ENGINE_MOCORE_OUTPUT_RESOURCE_ENVIRONMENT));
RetrieverBlackboardKeys.RULE_ENGINE_MOCORE_OUTPUT_ALLOCATION));
}

private List<ParallelJob> createRuleJobs(final RetrieverConfiguration configuration) {
Expand Down

0 comments on commit 4e23852

Please sign in to comment.