From fa426188e7bf0d2f70785e812d6b56467403608d Mon Sep 17 00:00:00 2001 From: Michael L Heuer Date: Wed, 25 May 2022 15:14:37 -0500 Subject: [PATCH] deprecate adam module, to be removed in version 3.0 --- .../java/org/dishevelled/bio/adam/DishevelledAdamContext.java | 3 +++ .../org/dishevelled/bio/adam/DishevelledKryoRegistrator.java | 3 ++- adam/src/main/java/org/dishevelled/bio/adam/package-info.java | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/adam/src/main/java/org/dishevelled/bio/adam/DishevelledAdamContext.java b/adam/src/main/java/org/dishevelled/bio/adam/DishevelledAdamContext.java index 9ef3a472..0fa9f700 100644 --- a/adam/src/main/java/org/dishevelled/bio/adam/DishevelledAdamContext.java +++ b/adam/src/main/java/org/dishevelled/bio/adam/DishevelledAdamContext.java @@ -102,7 +102,10 @@ /** * Extends ADAMContext with load methods for dsh-bio models. + * + * @deprecated to be removed in version 3.0 */ +@Deprecated public class DishevelledAdamContext extends ADAMContext { /** Java Spark context. */ private final transient JavaSparkContext javaSparkContext; diff --git a/adam/src/main/java/org/dishevelled/bio/adam/DishevelledKryoRegistrator.java b/adam/src/main/java/org/dishevelled/bio/adam/DishevelledKryoRegistrator.java index aff57780..340abcca 100644 --- a/adam/src/main/java/org/dishevelled/bio/adam/DishevelledKryoRegistrator.java +++ b/adam/src/main/java/org/dishevelled/bio/adam/DishevelledKryoRegistrator.java @@ -34,8 +34,9 @@ /** * Dishevelled kryo registrator. * - * @author Michael Heuer + * @deprecated to be removed in version 3.0 */ +@Deprecated public class DishevelledKryoRegistrator extends ADAMKryoRegistrator { @Override diff --git a/adam/src/main/java/org/dishevelled/bio/adam/package-info.java b/adam/src/main/java/org/dishevelled/bio/adam/package-info.java index 8163c3e3..58fcc9bb 100644 --- a/adam/src/main/java/org/dishevelled/bio/adam/package-info.java +++ b/adam/src/main/java/org/dishevelled/bio/adam/package-info.java @@ -24,6 +24,8 @@ /** * Adapt dsh-bio models to ADAM. + * + * @deprecated to be removed in version 3.0 */ package org.dishevelled.bio.adam;