diff options
author | Luck <git@lucko.me> | 2021-11-14 19:10:46 +0000 |
---|---|---|
committer | Luck <git@lucko.me> | 2021-11-14 19:10:46 +0000 |
commit | 49fc0ba47fac077a2fe965c44fd382a1ab02089c (patch) | |
tree | 2261bfdb4fd50b56a51fc1386eb4ac77d2fee939 /spark-common/src/main/java/me/lucko/spark/common/command | |
parent | eed8b8d38260fb16f114ab856e486904ae6dc937 (diff) | |
download | spark-49fc0ba47fac077a2fe965c44fd382a1ab02089c.tar.gz spark-49fc0ba47fac077a2fe965c44fd382a1ab02089c.tar.bz2 spark-49fc0ba47fac077a2fe965c44fd382a1ab02089c.zip |
Improve Velocity ClassSourceLookup
Diffstat (limited to 'spark-common/src/main/java/me/lucko/spark/common/command')
-rw-r--r-- | spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java b/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java index d45c7af..2dd07c9 100644 --- a/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java +++ b/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java @@ -305,7 +305,7 @@ public class SamplerModule implements CommandModule { } private void handleUpload(SparkPlatform platform, CommandResponseHandler resp, Sampler sampler, ThreadNodeOrder threadOrder, String comment, MergeMode mergeMode, boolean saveToFileFlag) { - SparkProtos.SamplerData output = sampler.toProto(platform.getPlugin().getPlatformInfo(), resp.sender(), threadOrder, comment, mergeMode, platform.getClassSourceLookup()); + SparkProtos.SamplerData output = sampler.toProto(platform.getPlugin().getPlatformInfo(), resp.sender(), threadOrder, comment, mergeMode, platform.createClassSourceLookup()); boolean saveToFile = false; if (saveToFileFlag) { |