Add function to public and adjust the javadoc to can show and called
This commit is contained in:
+3
-3
@@ -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() {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user