Skip to content

Commit 56ecbab

Browse files
committed
Improve DeprecatedSince annotation.
1 parent 590eafc commit 56ecbab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/org/botblock/javabotblockapi/annotations/DeprecatedSince.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,7 @@
3434
@Retention(RetentionPolicy.RUNTIME)
3535
@Target({ElementType.METHOD, ElementType.FIELD})
3636
public @interface DeprecatedSince{
37-
String[] value();
37+
String version();
38+
39+
String replacement() default "";
3840
}

0 commit comments

Comments
 (0)