Remove remaining jetbrains imports

This commit is contained in:
Alexander Söderberg 2020-07-14 19:40:47 +02:00
parent b68d7150f1
commit c0a0d36e5d
No known key found for this signature in database
GPG Key ID: C0207FF7EA146678
3 changed files with 4 additions and 7 deletions

View File

@ -39,7 +39,6 @@ import org.bukkit.block.Biome;
import org.bukkit.generator.BlockPopulator; import org.bukkit.generator.BlockPopulator;
import org.bukkit.generator.ChunkGenerator; import org.bukkit.generator.ChunkGenerator;
import javax.annotation.Nonnull; import javax.annotation.Nonnull;
import org.jetbrains.annotations.Range;
import java.util.Random; import java.util.Random;
@ -73,8 +72,10 @@ final class DelegatePlotGenerator extends IndependentPlotGenerator {
try { try {
ChunkGenerator.BiomeGrid grid = new ChunkGenerator.BiomeGrid() { ChunkGenerator.BiomeGrid grid = new ChunkGenerator.BiomeGrid() {
@Override @Override
public void setBiome(@Range(from = 0, to = 15) int x, public void setBiome(
@Range(from = 0, to = 15) int z, @Nonnull Biome biome) { final int x,
final int z,
@Nonnull final Biome biome) {
result.setBiome(x, z, BukkitAdapter.adapt(biome)); result.setBiome(x, z, BukkitAdapter.adapt(biome));
} }

View File

@ -52,7 +52,6 @@ import com.plotsquared.core.util.task.AutoClaimFinishTask;
import com.plotsquared.core.util.task.RunnableVal; import com.plotsquared.core.util.task.RunnableVal;
import com.plotsquared.core.util.task.TaskManager; import com.plotsquared.core.util.task.TaskManager;
import net.kyori.adventure.text.minimessage.Template; import net.kyori.adventure.text.minimessage.Template;
import org.jetbrains.annotations.Nullable;
import javax.annotation.Nonnull; import javax.annotation.Nonnull;
import javax.annotation.Nullable; import javax.annotation.Nullable;

View File

@ -14,7 +14,6 @@ buildscript {
configurations.all { configurations.all {
resolutionStrategy { resolutionStrategy {
force("org.ow2.asm:asm:8.0.1") force("org.ow2.asm:asm:8.0.1")
force("org.jetbrains:annotations:19.0.0")
} }
} }
} }
@ -94,7 +93,6 @@ subprojects { subproject ->
implementation("com.google.guava:guava:21.0") { implementation("com.google.guava:guava:21.0") {
because("Minecraft uses Guava 21 as of 1.13") because("Minecraft uses Guava 21 as of 1.13")
} }
compileOnly("org.jetbrains:annotations:19.0.0")
compileClasspath("org.projectlombok:lombok:1.18.12") compileClasspath("org.projectlombok:lombok:1.18.12")
testCompileOnly("org.projectlombok:lombok:1.18.12") testCompileOnly("org.projectlombok:lombok:1.18.12")
annotationProcessor("org.projectlombok:lombok:1.18.8") annotationProcessor("org.projectlombok:lombok:1.18.8")
@ -108,7 +106,6 @@ subprojects { subproject ->
resolutionStrategy { resolutionStrategy {
force("junit:junit:4.12") force("junit:junit:4.12")
force("com.google.guava:guava:21.0") force("com.google.guava:guava:21.0")
force("org.jetbrains:annotations:19.0.0")
force("com.google.code.findbugs:jsr305:3.0.2") force("com.google.code.findbugs:jsr305:3.0.2")
} }
} }