mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-12 02:37:34 +00:00
remove some internal deprecations
This commit is contained in:
3 files changed
-23
No files matched your search
@@ -110,13 +110,6 @@ public final class ConfigurationManagerImpl {
|
||||
return parsed.validate(invalidFieldHandler, resetInvalid);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public static void registerLoadSaveConfig(Class<?> configClass) throws ConfigException {
|
||||
register(configClass);
|
||||
load(configClass);
|
||||
save(configClass);
|
||||
}
|
||||
|
||||
public static void sendRequest(DataOutput output) throws IOException {
|
||||
val synced = new ArrayList<Class<?>>();
|
||||
val inv = serializedNames.inverse();
|
||||
|
||||
-6
@@ -147,12 +147,6 @@ public class DependencyLoaderImpl {
|
||||
mavenRepositories.add(url);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public static void loadLibrary(@NonNull String loadingModId, @NonNull String groupId, @NonNull String artifactId, @NonNull Version minVersion, Version maxVersion, @NonNull Version preferredVersion, String regularSuffix, String devSuffix) {
|
||||
new DependencyLoadTask(loadingModId, groupId, artifactId, minVersion, maxVersion, preferredVersion,
|
||||
regularSuffix, devSuffix).load();
|
||||
}
|
||||
|
||||
private static String bytesToHex(byte[] hash) {
|
||||
StringBuilder hexString = new StringBuilder(2 * hash.length);
|
||||
for (byte b : hash) {
|
||||
|
||||
@@ -173,16 +173,6 @@ public class UniversalMethod {
|
||||
return invoke(null, arguments);
|
||||
}
|
||||
|
||||
/**
|
||||
* This is only here for completeness' sake, given that MethodInsnNode itself also has a deprecated yet functional constructor.
|
||||
*/
|
||||
@Deprecated
|
||||
@StableAPI.Expose
|
||||
public MethodInsnNode asInstruction(int opcode, MappingType mapping) {
|
||||
return new MethodInsnNode(opcode, parent.getName(NameType.Internal, mapping), getName(mapping),
|
||||
getDescriptor(mapping));
|
||||
}
|
||||
|
||||
@StableAPI.Expose
|
||||
public MethodInsnNode asInstruction(int opcode, MappingType mapping, boolean itf) {
|
||||
return new MethodInsnNode(opcode, parent.getName(NameType.Internal, mapping), getName(mapping),
|
||||
|
||||
Reference in new issue
Block a user