diff --git a/core-java-modules/core-java-annotations/src/main/java/com/ossez/annotations/ClassWithDeprecatedMethod.java b/core-java-modules/core-java-annotations/src/main/java/com/ossez/annotations/ClassWithDeprecatedMethod.java index d365a3df8b..911ed3f36d 100644 --- a/core-java-modules/core-java-annotations/src/main/java/com/ossez/annotations/ClassWithDeprecatedMethod.java +++ b/core-java-modules/core-java-annotations/src/main/java/com/ossez/annotations/ClassWithDeprecatedMethod.java @@ -1,9 +1,23 @@ package com.ossez.annotations; + class ClassWithDeprecatedMethod { + /** + * Calculate period between versions + * * @deprecated + * * This method is no longer acceptable to compute time between versions. + * *
Use {@link ClassWithDeprecatedMethod#updatedMethod()} instead. + */ @Deprecated static void deprecatedMethod() { } + + /** + * Updated Method instead of deprecatedMethod. + */ + static void updatedMethod() { + } + }