18
18
import static org .skyscreamer .jsonassert .JSONAssert .*;
19
19
import static org .springframework .data .elasticsearch .annotations .FieldType .*;
20
20
21
- import org .springframework .data .elasticsearch .annotations .FieldType ;
22
- import org .springframework .data .elasticsearch .annotations .InnerField ;
23
- import org .springframework .data .elasticsearch .annotations .MultiField ;
24
21
import reactor .core .publisher .Mono ;
25
22
import reactor .core .scheduler .Schedulers ;
26
23
34
31
import org .springframework .data .elasticsearch .annotations .DateFormat ;
35
32
import org .springframework .data .elasticsearch .annotations .Document ;
36
33
import org .springframework .data .elasticsearch .annotations .Field ;
34
+ import org .springframework .data .elasticsearch .annotations .FieldType ;
35
+ import org .springframework .data .elasticsearch .annotations .InnerField ;
37
36
import org .springframework .data .elasticsearch .annotations .Mapping ;
37
+ import org .springframework .data .elasticsearch .annotations .MultiField ;
38
38
import org .springframework .data .elasticsearch .core .MappingContextBaseTests ;
39
39
import org .springframework .lang .Nullable ;
40
40
@@ -82,7 +82,7 @@ void shouldWriteRuntimeFields() throws JSONException {
82
82
83
83
assertEquals (expected , mapping , true );
84
84
}
85
-
85
+
86
86
@ Test // #2952
87
87
void shouldMapNullityParameters () throws JSONException {
88
88
// Given
@@ -108,9 +108,10 @@ void shouldMapNullityParameters() throws JSONException {
108
108
}
109
109
}
110
110
""" ;
111
-
111
+
112
112
// When
113
- String result = Mono .defer (() -> mappingBuilder .buildReactivePropertyMapping (MultiFieldWithNullEmptyParameters .class ))
113
+ String result = Mono
114
+ .defer (() -> mappingBuilder .buildReactivePropertyMapping (MultiFieldWithNullEmptyParameters .class ))
114
115
.subscribeOn (Schedulers .parallel ()).block ();
115
116
116
117
// Then
0 commit comments