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 f62344e commit 88be24dCopy full SHA for 88be24d
src/main/java/com/codingchili/Model/ImportEvent.java
@@ -26,7 +26,7 @@ public class ImportEvent {
26
private FileParser parser;
27
private Boolean clearExisting;
28
private String mapping;
29
- private Optional<String> pipeline;
+ private String pipeline;
30
private String index;
31
private String uploadId;
32
private int offset;
@@ -140,11 +140,11 @@ public ImportEvent setIndex(String index) {
140
}
141
142
public Optional<String> getPipeline() {
143
- return pipeline;
+ return Optional.ofNullable(pipeline);
144
145
146
public ImportEvent setPipeline(String pipeline) {
147
- this.pipeline = Optional.ofNullable(pipeline);
+ this.pipeline = pipeline;
148
return this;
149
150
0 commit comments