Skip to content

Commit a0f342d

Browse files
committed
remove some internal deprecations
1 parent 0c76120 commit a0f342d

File tree

3 files changed

+0
-23
lines changed

3 files changed

+0
-23
lines changed

src/main/java/com/falsepattern/lib/internal/impl/config/ConfigurationManagerImpl.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,6 @@ public static boolean validateFields(BiConsumer<Class<?>, Field> invalidFieldHan
110110
return parsed.validate(invalidFieldHandler, resetInvalid);
111111
}
112112

113-
@Deprecated
114-
public static void registerLoadSaveConfig(Class<?> configClass) throws ConfigException {
115-
register(configClass);
116-
load(configClass);
117-
save(configClass);
118-
}
119-
120113
public static void sendRequest(DataOutput output) throws IOException {
121114
val synced = new ArrayList<Class<?>>();
122115
val inv = serializedNames.inverse();

src/main/java/com/falsepattern/lib/internal/impl/dependencies/DependencyLoaderImpl.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,6 @@ public static void addMavenRepo(String url) {
147147
mavenRepositories.add(url);
148148
}
149149

150-
@Deprecated
151-
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) {
152-
new DependencyLoadTask(loadingModId, groupId, artifactId, minVersion, maxVersion, preferredVersion,
153-
regularSuffix, devSuffix).load();
154-
}
155-
156150
private static String bytesToHex(byte[] hash) {
157151
StringBuilder hexString = new StringBuilder(2 * hash.length);
158152
for (byte b : hash) {

src/main/java/com/falsepattern/lib/mapping/types/UniversalMethod.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -173,16 +173,6 @@ public <T> T invokeStatic(Object... arguments) {
173173
return invoke(null, arguments);
174174
}
175175

176-
/**
177-
* This is only here for completeness' sake, given that MethodInsnNode itself also has a deprecated yet functional constructor.
178-
*/
179-
@Deprecated
180-
@StableAPI.Expose
181-
public MethodInsnNode asInstruction(int opcode, MappingType mapping) {
182-
return new MethodInsnNode(opcode, parent.getName(NameType.Internal, mapping), getName(mapping),
183-
getDescriptor(mapping));
184-
}
185-
186176
@StableAPI.Expose
187177
public MethodInsnNode asInstruction(int opcode, MappingType mapping, boolean itf) {
188178
return new MethodInsnNode(opcode, parent.getName(NameType.Internal, mapping), getName(mapping),

0 commit comments

Comments
 (0)