Skip to content

Commit 1706fe1

Browse files
vanniktechakarnokd
authored andcommitted
2.x: Also allow @SchedulerSupport on constructors. (#5940)
1 parent 5bd4ac2 commit 1706fe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/reactivex/annotations/SchedulerSupport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*/
2929
@Retention(RetentionPolicy.RUNTIME)
3030
@Documented
31-
@Target({ElementType.METHOD, ElementType.TYPE})
31+
@Target({ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.TYPE})
3232
public @interface SchedulerSupport {
3333
/**
3434
* A special value indicating the operator/class doesn't use schedulers.

0 commit comments

Comments
 (0)