Skip to content
This repository has been archived by the owner on Mar 4, 2019. It is now read-only.

Commit

Permalink
Copy properties map so as to not modify it when merging with action-s…
Browse files Browse the repository at this point in the history
…pecific properties
  • Loading branch information
ajsquared committed Feb 24, 2016
1 parent 17c719a commit 7560c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/etsy/arbiter/OozieWorkflowGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ private void createActionElement(Action action, DirectedAcyclicGraph<Action, Def

// There is an outer action tag and an inner tag corresponding to the action type
Map<String, List<String>> interpolated = NamedArgumentInterpolator.interpolate(type.getDefaultArgs(), action.getNamedArgs(), type.getDefaultInterpolations(), action.getPositionalArgs());
Map<String, String> mergedConfigurationProperties = type.getProperties();
Map<String, String> mergedConfigurationProperties = new HashMap<>(type.getProperties());
if (action.getConfigurationProperties() != null) {
mergedConfigurationProperties.putAll(action.getConfigurationProperties());
}
Expand Down

0 comments on commit 7560c1f

Please sign in to comment.