Skip to content

Commit 763cc89

Browse files
bm1549claude
andcommitted
Apply spotless formatting to SynapseTest.groovy
Reformat single-line closure to multi-line as required by spotless CI check. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c4b0106 commit 763cc89

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • dd-java-agent/instrumentation/synapse-3.0/src/test/groovy/datadog/trace/instrumentation/synapse3

dd-java-agent/instrumentation/synapse-3.0/src/test/groovy/datadog/trace/instrumentation/synapse3/SynapseTest.groovy

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,11 @@ abstract class SynapseTest extends VersionedNamingTestBase {
221221
Collections.sort(traces, SORT_TRACES_BY_NAMES)
222222

223223
// Find the proxy trace (contains the StockQuoteProxy span) and the forwarded server trace
224-
def proxyTrace = traces.find { trace -> trace.any { it.resourceName.toString() == "POST /services/StockQuoteProxy" } }
224+
def proxyTrace = traces.find { trace ->
225+
trace.any {
226+
it.resourceName.toString() == "POST /services/StockQuoteProxy"
227+
}
228+
}
225229
def serverTrace = traces.find { trace ->
226230
trace.every { it.resourceName.toString() == "POST /services/SimpleStockQuoteService" } && trace != proxyTrace
227231
}

0 commit comments

Comments
 (0)