aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gq/malwarefight/nosession/tweaks
diff options
context:
space:
mode:
authorPandaNinjas <admin@malwarefight.gq>2023-05-19 17:15:46 -0400
committerPandaNinjas <admin@malwarefight.gq>2023-05-19 17:15:46 -0400
commitd30a5775fab3f4e8968e4066a5e59a4b953d8870 (patch)
treeb530ea31755685193192230f5e570947caf2cba1 /src/main/java/gq/malwarefight/nosession/tweaks
parentca67ac4481ce308d42ab33defdee2e54e2ca82ab (diff)
downloadNoSession-d30a5775fab3f4e8968e4066a5e59a4b953d8870.tar.gz
NoSession-d30a5775fab3f4e8968e4066a5e59a4b953d8870.tar.bz2
NoSession-d30a5775fab3f4e8968e4066a5e59a4b953d8870.zip
stuff
Diffstat (limited to 'src/main/java/gq/malwarefight/nosession/tweaks')
-rw-r--r--src/main/java/gq/malwarefight/nosession/tweaks/cleanup/CleanupTweaker.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/gq/malwarefight/nosession/tweaks/cleanup/CleanupTweaker.java b/src/main/java/gq/malwarefight/nosession/tweaks/cleanup/CleanupTweaker.java
index a0d458b..9a5997b 100644
--- a/src/main/java/gq/malwarefight/nosession/tweaks/cleanup/CleanupTweaker.java
+++ b/src/main/java/gq/malwarefight/nosession/tweaks/cleanup/CleanupTweaker.java
@@ -39,6 +39,7 @@ public class CleanupTweaker implements ITweaker {
Utils.setStaticValue(cls, "wrapperParentMap", new HashMap<String, String>());
//noinspection UnstableApiUsage
Utils.setStaticValue(cls, "wrapperCache", CacheBuilder.newBuilder().maximumSize(30L).weakValues().build(new CacheLoader<String, byte[]>() {
+ @SuppressWarnings("NullableProblems")
public byte[] load(String file) throws Exception {
return (byte[]) makeWrapper.invoke(null, file);
}