Add function to public and adjust the javadoc to can show and called

This commit is contained in:
YuCheng Hu 2020-02-26 16:14:25 -05:00
parent 0417a7b27e
commit dd2c3c0170
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
package com.ossez.annotations; package com.ossez.annotations;
class ClassWithDeprecatedMethod { public class ClassWithDeprecatedMethod {
/** /**
* Calculate period between versions * Calculate period between versions
@ -10,14 +10,14 @@ class ClassWithDeprecatedMethod {
* * <p> Use {@link ClassWithDeprecatedMethod#updatedMethod()} instead. * * <p> Use {@link ClassWithDeprecatedMethod#updatedMethod()} instead.
*/ */
@Deprecated @Deprecated
static void deprecatedMethod() { public static void deprecatedMethod() {
} }
/** /**
* Updated Method instead of deprecatedMethod. * Updated Method instead of deprecatedMethod.
*/ */
static void updatedMethod() { public static void updatedMethod() {
} }
} }