Skip to content

Commit 0c76120

Browse files
committed
un-deprecate the dependency loader
1 parent cc4d7d1 commit 0c76120

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

src/main/java/com/falsepattern/lib/dependencies/DependencyLoader.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,9 @@
2929

3030

3131
/**
32-
* DEPRECATED. See the DEPENDENCIES.MD files in the root of the resources for more information.
33-
* <p>
34-
* This class will stay here for legacy compatibility
32+
* For regular external dependencies, see the DEPENDENCIES.MD files in the root of the resources for more information.
33+
* If you need more power than the one provided by the json format, you may use this class for granular loading instead.
3534
*/
36-
@Deprecated
37-
@DeprecationDetails(deprecatedSince = "0.11.0")
3835
@StableAPI(since = "0.6.0")
3936
public class DependencyLoader {
4037
@StableAPI.Expose

src/main/java/com/falsepattern/lib/dependencies/Library.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
import com.falsepattern.lib.StableAPI;
2626
import lombok.NonNull;
2727

28-
@Deprecated
29-
@DeprecationDetails(deprecatedSince = "0.11.0")
3028
@StableAPI(since = "0.10.0")
3129
public class Library {
3230
@StableAPI.Expose

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,14 +215,10 @@ private static void download(InputStream is, File target) {
215215
Internet.transferAndClose(is, new BufferedOutputStream(Files.newOutputStream(target.toPath())));
216216
}
217217

218-
@Deprecated
219-
@DeprecationDetails(deprecatedSince = "0.11.0")
220218
public static void loadLibraries(Library... libraries) {
221219
loadLibrariesAsync(libraries).join();
222220
}
223221

224-
@Deprecated
225-
@DeprecationDetails(deprecatedSince = "0.11.0")
226222
public static CompletableFuture<Void> loadLibrariesAsync(Library... libraries) {
227223
val futures = new ArrayList<CompletableFuture<Void>>();
228224
for (val library : libraries) {

0 commit comments

Comments
 (0)