Fixes lambda recognition in other places #425

This commit is contained in:
Rsl1122 2017-11-13 18:21:19 +02:00
parent 67102f3c4a
commit 7857732b5d
2 changed files with 4 additions and 0 deletions

View File

@ -316,6 +316,7 @@ public class Analysis {
for (UUID uuid : playerCount.getUuids()) {
boolean banned = banSources.stream().anyMatch(pluginData -> {
StaticHolder.saveInstance(this.getClass(), plugin.getClass());
try {
Serializable value = pluginData.getValue(uuid);
return value instanceof Boolean

View File

@ -1,7 +1,9 @@
package main.java.com.djrapitops.plan.utilities.dump;
import com.djrapitops.plugin.StaticHolder;
import com.djrapitops.plugin.api.utility.log.Log;
import com.google.common.collect.Iterables;
import main.java.com.djrapitops.plan.utilities.MiscUtils;
import main.java.com.djrapitops.plan.utilities.file.dump.Hastebin;
import org.bukkit.plugin.java.JavaPlugin;
import org.json.simple.parser.ParseException;
@ -35,6 +37,7 @@ public class HastebinTest {
TestInit.init();
Thread thread = new Thread(() -> {
StaticHolder.saveInstance(this.getClass(), MiscUtils.getIPlan().getClass());
try {
Hastebin.upload(RandomData.randomString(10));
} catch (IOException e) {