Some small fixes

This commit is contained in:
Luck 2016-09-04 16:24:36 +01:00
parent 36cd388607
commit 23df8a2df8
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B
6 changed files with 8 additions and 2 deletions

View File

@ -27,6 +27,7 @@ import java.util.UUID;
/** /**
* Represents a single entry in a log * Represents a single entry in a log
*/ */
@SuppressWarnings({"unused", "WeakerAccess"})
public class LogEntry implements Comparable<LogEntry> { public class LogEntry implements Comparable<LogEntry> {
public static LogEntryBuilder builder() { public static LogEntryBuilder builder() {
return new LogEntryBuilder(); return new LogEntryBuilder();

View File

@ -32,6 +32,7 @@ import java.util.Optional;
* <p> Use {@link LuckPermsApi#buildNode(String)} to get an instance. * <p> Use {@link LuckPermsApi#buildNode(String)} to get an instance.
* @since 1.6 * @since 1.6
*/ */
@SuppressWarnings("unused")
public interface Node extends Map.Entry<String, Boolean> { public interface Node extends Map.Entry<String, Boolean> {
/** /**

View File

@ -35,6 +35,7 @@ import java.util.UUID;
* *
* <p> WARNING: THIS IS ONLY EFFECTIVE FOR ONLINE PLAYERS. USE THE DATASTORE METHODS FOR OFFLINE PLAYERS. * <p> WARNING: THIS IS ONLY EFFECTIVE FOR ONLINE PLAYERS. USE THE DATASTORE METHODS FOR OFFLINE PLAYERS.
*/ */
@SuppressWarnings("unused")
public interface UuidCache { public interface UuidCache {
/** /**

View File

@ -65,6 +65,10 @@
<pattern>org.h2</pattern> <pattern>org.h2</pattern>
<shadedPattern>me.lucko.luckperms.lib.h2</shadedPattern> <shadedPattern>me.lucko.luckperms.lib.h2</shadedPattern>
</relocation> </relocation>
<relocation>
<pattern>org.sqlite</pattern>
<shadedPattern>me.lucko.luckperms.lib.sqlite</shadedPattern>
</relocation>
</relocations> </relocations>
</configuration> </configuration>
</execution> </execution>

View File

@ -65,7 +65,6 @@ public interface LuckPermsPlugin {
*/ */
String getVersion(); String getVersion();
/** /**
* @return the platform type * @return the platform type
*/ */

View File

@ -39,7 +39,7 @@ import java.util.stream.Collectors;
import static me.lucko.luckperms.api.implementation.internal.Utils.checkNode; import static me.lucko.luckperms.api.implementation.internal.Utils.checkNode;
/** /**
* Provides static access to LuckPerms * Implements the LuckPerms API using the plugin instance
*/ */
@AllArgsConstructor @AllArgsConstructor
public class ApiProvider implements LuckPermsApi { public class ApiProvider implements LuckPermsApi {