bad regex replace

This commit is contained in:
Jesse Boyd 2019-11-06 11:39:55 +00:00
parent 2cb734bba2
commit 252fdefef3
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
2 changed files with 0 additions and 12 deletions

View File

@ -21,8 +21,6 @@ public final class Reflection {
private static final Map<String, Class<?>> _loadedNMSClasses = new HashMap<>(); private static final Map<String, Class<?>> _loadedNMSClasses = new HashMap<>();
/** /**
* Stores loaded classes from the {@code org.bukkit.craftbukkit} package (and subpackages). * Stores loaded classes from the {@code org.bukkit.craftbukkit} package (and subpackages).
import com.github.intellectualsites.plotsquared.plot.util.world.BlockUtil;
*/ */
private static final Map<String, Class<?>> _loadedOBCClasses = new HashMap<>(); private static final Map<String, Class<?>> _loadedOBCClasses = new HashMap<>();
private static final Map<Class<?>, Map<String, Field>> _loadedFields = new HashMap<>(); private static final Map<Class<?>, Map<String, Field>> _loadedFields = new HashMap<>();
@ -39,11 +37,7 @@ import com.github.intellectualsites.plotsquared.plot.util.world.BlockUtil;
/** /**
* Gets the version string from the package name of the CraftBukkit server implementation. * Gets the version string from the package name of the CraftBukkit server implementation.
import com.github.intellectualsites.plotsquared.plot.util.world.BlockUtil;
* This is needed to bypass the JAR package name changing on each update. * This is needed to bypass the JAR package name changing on each update.
import com.github.intellectualsites.plotsquared.plot.util.world.BlockUtil;
* *
* @return The version string of the OBC and NMS packages, <em>including the trailing dot</em>. * @return The version string of the OBC and NMS packages, <em>including the trailing dot</em>.
*/ */
@ -85,8 +79,6 @@ import com.github.intellectualsites.plotsquared.plot.util.world.BlockUtil;
* The class instances returned by this method are cached, such that no lookup will be done twice (unless multiple threads are accessing this method simultaneously). * The class instances returned by this method are cached, such that no lookup will be done twice (unless multiple threads are accessing this method simultaneously).
* *
* @param className The name of the class, excluding the package, within OBC. This name may contain a subpackage name, such as {@code inventory.CraftItemStack}. * @param className The name of the class, excluding the package, within OBC. This name may contain a subpackage name, such as {@code inventory.CraftItemStack}.
import com.github.intellectualsites.plotsquared.plot.util.world.BlockUtil;
* @return The class instance representing the specified OBC class, or {@code null} if it could not be loaded. * @return The class instance representing the specified OBC class, or {@code null} if it could not be loaded.
*/ */
public synchronized static Class<?> getOBCClass(String className) { public synchronized static Class<?> getOBCClass(String className) {

View File

@ -88,12 +88,8 @@ public interface IPlotMain extends ILogger {
/** /**
* Gets the NMS package prefix. * Gets the NMS package prefix.
import com.github.intellectualsites.plotsquared.plot.util.world.BlockUtil;
* *
* @return The NMS package prefix * @return The NMS package prefix
import com.github.intellectualsites.plotsquared.plot.util.world.BlockUtil;
*/ */
String getNMSPackage(); String getNMSPackage();