File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plugin Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 97
97
- class : " org.elasticsearch.xpack.searchablesnapshots.FrozenSearchableSnapshotsIntegTests"
98
98
issue : " https://github.com/elastic/elasticsearch/issues/110408"
99
99
method : " testCreateAndRestorePartialSearchableSnapshot"
100
- - class : " org.elasticsearch.xpack.esql.qa.mixed.MixedClusterEsqlSpecIT"
101
- issue : " https://github.com/elastic/elasticsearch/issues/110591"
102
100
103
101
# Examples:
104
102
#
Original file line number Diff line number Diff line change @@ -76,8 +76,9 @@ ActionListener<Void> acquireAvoid() {
76
76
ActionListener <ComputeResponse > acquireCompute () {
77
77
return acquireAvoid ().map (resp -> {
78
78
responseHeaders .collect ();
79
- if (resp != null && resp .getProfiles ().isEmpty () == false ) {
80
- collectedProfiles .addAll (resp .getProfiles ());
79
+ var profiles = resp .getProfiles ();
80
+ if (profiles != null && profiles .isEmpty () == false ) {
81
+ collectedProfiles .addAll (profiles );
81
82
}
82
83
return null ;
83
84
});
You can’t perform that action at this time.
0 commit comments