import net.pterodactylus.sone.utils.Option;
-import com.google.common.base.Predicate;
-
/**
* Stores various options that influence Sone’s behaviour.
*/
import net.pterodactylus.sone.core.event.SoneInsertedEvent;
import net.pterodactylus.sone.core.event.SoneInsertingEvent;
import net.pterodactylus.sone.data.AlbumKt;
-import net.pterodactylus.sone.data.Post;
-import net.pterodactylus.sone.data.Reply;
import net.pterodactylus.sone.data.Sone;
import net.pterodactylus.sone.data.Sone.SoneStatus;
import net.pterodactylus.sone.data.SoneKt;
package net.pterodactylus.sone.core;
-import static com.google.common.base.Optional.absent;
-import static com.google.common.base.Optional.of;
import static com.google.common.base.Ticker.systemTicker;
import static java.util.concurrent.TimeUnit.NANOSECONDS;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.Objects;
-import com.google.common.base.Optional;
import com.google.common.base.Ticker;
/**
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
-import static com.google.common.base.Preconditions.checkState;
import static java.nio.charset.StandardCharsets.UTF_8;
import java.util.ArrayList;
import net.pterodactylus.sone.data.Post;
import net.pterodactylus.sone.data.PostReply;
import net.pterodactylus.sone.data.Profile;
-import net.pterodactylus.sone.data.Reply;
import net.pterodactylus.sone.data.Sone;
import net.pterodactylus.sone.data.SoneOptions;
import net.pterodactylus.sone.data.SoneOptions.DefaultSoneOptions;
package net.pterodactylus.sone.fcp;
-import com.google.common.base.Optional;
-
import net.pterodactylus.sone.core.Core;
import net.pterodactylus.sone.data.Post;
import net.pterodactylus.sone.data.Sone;
package net.pterodactylus.sone.freenet.wot;
-import java.util.Collection;
-import java.util.Collections;
import java.util.Map;
import java.util.Set;
-import com.google.common.base.Function;
-
/**
* Interface for web of trust identities, defining all functions that can be
* performed on an identity. An identity is only a container for identity data
import com.google.common.eventbus.*;
import com.google.common.cache.*;
import com.google.inject.*;
-import com.google.inject.Module;
import com.google.inject.name.*;
import kotlin.jvm.functions.*;
package net.pterodactylus.sone.text;
import net.pterodactylus.sone.data.Sone;
-import net.pterodactylus.sone.web.page.FreenetRequest;
/**
* {@link ParserContext} implementation for the {@link SoneTextParser}. It
package net.pterodactylus.sone.utils;
-import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import com.google.common.primitives.Ints;
package net.pterodactylus.sone.text
import freenet.keys.*
-import freenet.support.*
import net.pterodactylus.sone.data.*
import net.pterodactylus.sone.data.impl.*
import net.pterodactylus.sone.database.*
package net.pterodactylus.sone.utils
-import java.util.function.Predicate
-
/**
* Basic implementation of an [Option].
*
import static org.hamcrest.Matchers.containsString;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.not;
-import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.Mockito.*;
import java.util.concurrent.CountDownLatch;
import net.pterodactylus.sone.core.WebOfTrustUpdaterImpl.WebOfTrustContextUpdateJob;
import net.pterodactylus.sone.core.WebOfTrustUpdaterImpl.WebOfTrustUpdateJob;
import net.pterodactylus.sone.freenet.plugin.PluginException;
-import net.pterodactylus.sone.freenet.wot.Identity;
import net.pterodactylus.sone.freenet.wot.OwnIdentity;
import net.pterodactylus.sone.freenet.wot.WebOfTrustConnector;
import net.pterodactylus.sone.data.Post;
import net.pterodactylus.sone.data.PostReply;
-import com.google.common.base.Optional;
import org.hamcrest.Description;
import org.hamcrest.Matcher;
import org.hamcrest.TypeSafeDiagnosingMatcher;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
-import org.hamcrest.MatcherAssert;
-import org.hamcrest.Matchers;
import org.junit.Test;
/**
package net.pterodactylus.sone.core
-import com.google.common.base.Optional.*
import net.pterodactylus.sone.core.ConfigurationSoneParser.*
import net.pterodactylus.sone.data.*
import net.pterodactylus.sone.database.*
package net.pterodactylus.sone.fcp
-import com.google.common.base.Optional.absent
-import com.google.common.base.Optional.of
import net.pterodactylus.sone.core.Core
import net.pterodactylus.sone.data.Post
import net.pterodactylus.sone.test.mock
package net.pterodactylus.sone.template
import net.pterodactylus.sone.core.Core
-import net.pterodactylus.sone.data.Image
import net.pterodactylus.sone.data.Profile
import net.pterodactylus.sone.data.Sone
import net.pterodactylus.sone.data.SoneOptions.DefaultSoneOptions
package net.pterodactylus.sone.template
import net.pterodactylus.sone.freenet.*
-import net.pterodactylus.sone.test.*
import org.hamcrest.MatcherAssert.*
import org.hamcrest.Matchers.*
import org.junit.*
import net.pterodactylus.sone.utils.*
import net.pterodactylus.util.web.*
import org.hamcrest.*
-import org.hamcrest.Matchers
import org.hamcrest.Matchers.*
/**
import net.pterodactylus.sone.data.*
import net.pterodactylus.sone.data.SoneOptions.*
import net.pterodactylus.sone.data.impl.*
-import net.pterodactylus.sone.text.*
import net.pterodactylus.sone.utils.*
val remoteSone1 = createRemoteSone()
import net.pterodactylus.sone.template.*
import net.pterodactylus.sone.test.*
import net.pterodactylus.sone.text.*
-import net.pterodactylus.sone.web.notification.*
import net.pterodactylus.sone.web.page.*
import net.pterodactylus.util.notify.*
import net.pterodactylus.util.template.*
package net.pterodactylus.sone.web.ajax
-import com.google.common.base.Optional
import net.pterodactylus.sone.data.Post
import net.pterodactylus.sone.data.Sone
import net.pterodactylus.sone.test.getInstance
package net.pterodactylus.sone.web.ajax
-import net.pterodactylus.sone.data.Album
-import net.pterodactylus.sone.data.Image
import net.pterodactylus.sone.data.Sone
import net.pterodactylus.sone.data.impl.*
import net.pterodactylus.sone.template.ParserFilter
import freenet.clients.http.*
import freenet.support.api.*
-import net.pterodactylus.sone.test.*
import net.pterodactylus.util.web.*
import org.hamcrest.MatcherAssert.*
import org.hamcrest.Matchers.*
package net.pterodactylus.sone.web.page
import freenet.clients.http.*
-import freenet.l10n.*
import freenet.support.api.*
import net.pterodactylus.sone.core.*
import net.pterodactylus.sone.test.*
package net.pterodactylus.sone.web.pages
-import com.google.common.base.Optional.*
import net.pterodactylus.sone.data.*
import net.pterodactylus.sone.test.*
-import net.pterodactylus.sone.utils.*
import net.pterodactylus.sone.web.*
import net.pterodactylus.sone.web.page.*
import net.pterodactylus.util.web.Method.*