Apply merge mode change to 1.18

This commit is contained in:
embeddedt 2023-06-27 11:03:49 -04:00
parent 454dacea6b
commit 299abeb25d
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -71,7 +71,7 @@ public class SparkLaunchProfiler {
SparkSamplerProtos.SamplerData output = sampler.toProto(platform, new Sampler.ExportProps()
.creator(new CommandSender.Data(commandSender.getName(), commandSender.getUniqueId()))
.comment("Stage: " + key)
.mergeMode(() -> MergeMode.separateParentCalls(new MethodDisambiguator()))
.mergeMode(() -> MergeMode.sameMethod(new MethodDisambiguator()))
.classSourceLookup(platform::createClassSourceLookup));
try {
String urlKey = platform.getBytebinClient().postContent(output, "application/x-spark-sampler").key();