Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,23 @@
</repository>
<repository>
<id>placeholderapi</id>
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
<url>https://repo.extendedclip.com/releases/</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>net.luckperms</groupId>
<artifactId>api</artifactId>
<version>5.4</version>
<version>5.5</version>
<scope>provided</scope>
</dependency>

<!-- Spigot versions -->
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.20.6-R0.1-SNAPSHOT</version>
<version>1.21.11-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand All @@ -51,7 +51,7 @@
<dependency>
<groupId>com.github.MilkBowl</groupId>
<artifactId>VaultAPI</artifactId>
<version>1.7</version>
<version>1.7.1</version>
<scope>provided</scope>
<exclusions>
<exclusion>
Expand All @@ -63,7 +63,7 @@
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.11.1</version>
<version>2.12.2</version>
<scope>provided</scope>
</dependency>
<!-- present at runtime in all supported versions, but not a transient dep. of spigot-api -->
Expand All @@ -76,7 +76,7 @@
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>24.0.1</version>
<version>26.0.2</version>
<scope>compile</scope>
</dependency>

Expand All @@ -94,7 +94,7 @@
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<version>3.15.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import de.xite.scoreboard.main.PowerBoard;

import javax.annotation.Nullable;
import org.jetbrains.annotations.Nullable;

public class TablistPlayer {
static PowerBoard pl = PowerBoard.pl;
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/de/xite/scoreboard/utils/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
import de.xite.scoreboard.main.PowerBoard;
import org.bukkit.Bukkit;

import javax.annotation.Nonnull;
import org.jetbrains.annotations.NotNull;
import java.util.logging.Logger;

public class Version implements Comparable<Version> {
private final String version;

public Version(@Nonnull String version) {
public Version(@NotNull String version) {
if(!version.matches("[0-9]+(\\.[0-9]+)*"))
throw new IllegalArgumentException("Invalid version format");
this.version = version;
Expand Down Expand Up @@ -59,7 +59,7 @@ public Version(@Nonnull String version) {
* int = -1: a is older than b
*/
@Override
public int compareTo(@Nonnull Version that) {
public int compareTo(@NotNull Version that) {
String[] thisParts = this.version.split("\\.");
String[] thatParts = that.version.split("\\.");

Expand Down
Loading