We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7003a8 commit f89401eCopy full SHA for f89401e
job-dsl-plugin/src/main/groovy/javaposse/jobdsl/plugin/actions/GeneratedObjectsRunAction.java
@@ -48,7 +48,11 @@ public Collection<T> getModifiedObjects() {
48
}
49
50
public void addModifiedObjects(Collection<T> modifiedObjects) {
51
- this.modifiedObjects.addAll(modifiedObjects);
+ if (this.modifiedObjects == null) {
52
+ this.modifiedObjects = new LinkedHashSet<>(modifiedObjects);
53
+ } else {
54
+ this.modifiedObjects.addAll(modifiedObjects);
55
+ }
56
57
58
0 commit comments