Skip to content

Commit

Permalink
Update annotation tests to support addListener method.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjudd committed Apr 25, 2018
1 parent 633b6f8 commit 11a83f8
Show file tree
Hide file tree
Showing 14 changed files with 98 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,13 @@ public GlideRequest<TranscodeType> listener(@Nullable RequestListener<TranscodeT
return (GlideRequest<TranscodeType>) super.listener(listener);
}

@Override
@NonNull
@CheckResult
public GlideRequest<TranscodeType> addListener(@Nullable RequestListener<TranscodeType> listener) {
return (GlideRequest<TranscodeType>) super.addListener(listener);
}

@Override
@NonNull
public GlideRequest<TranscodeType> error(@Nullable RequestBuilder<TranscodeType> builder) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,13 @@ public GlideRequest<TranscodeType> listener(@Nullable RequestListener<TranscodeT
return (GlideRequest<TranscodeType>) super.listener(listener);
}

@Override
@NonNull
@CheckResult
public GlideRequest<TranscodeType> addListener(@Nullable RequestListener<TranscodeType> listener) {
return (GlideRequest<TranscodeType>) super.addListener(listener);
}

@Override
@NonNull
public GlideRequest<TranscodeType> error(@Nullable RequestBuilder<TranscodeType> builder) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,13 @@ public GlideRequest<TranscodeType> listener(@Nullable RequestListener<TranscodeT
return (GlideRequest<TranscodeType>) super.listener(listener);
}

@Override
@NonNull
@CheckResult
public GlideRequest<TranscodeType> addListener(@Nullable RequestListener<TranscodeType> listener) {
return (GlideRequest<TranscodeType>) super.addListener(listener);
}

@Override
@NonNull
public GlideRequest<TranscodeType> error(@Nullable RequestBuilder<TranscodeType> builder) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,13 @@ public GlideRequest<TranscodeType> listener(@Nullable RequestListener<TranscodeT
return (GlideRequest<TranscodeType>) super.listener(listener);
}

@Override
@NonNull
@CheckResult
public GlideRequest<TranscodeType> addListener(@Nullable RequestListener<TranscodeType> listener) {
return (GlideRequest<TranscodeType>) super.addListener(listener);
}

@Override
@NonNull
public GlideRequest<TranscodeType> error(@Nullable RequestBuilder<TranscodeType> builder) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,13 @@ public GlideRequest<TranscodeType> listener(@Nullable RequestListener<TranscodeT
return (GlideRequest<TranscodeType>) super.listener(listener);
}

@Override
@NonNull
@CheckResult
public GlideRequest<TranscodeType> addListener(@Nullable RequestListener<TranscodeType> listener) {
return (GlideRequest<TranscodeType>) super.addListener(listener);
}

@Override
@NonNull
public GlideRequest<TranscodeType> error(@Nullable RequestBuilder<TranscodeType> builder) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,13 @@ public GlideRequest<TranscodeType> listener(@Nullable RequestListener<TranscodeT
return (GlideRequest<TranscodeType>) super.listener(listener);
}

@Override
@NonNull
@CheckResult
public GlideRequest<TranscodeType> addListener(@Nullable RequestListener<TranscodeType> listener) {
return (GlideRequest<TranscodeType>) super.addListener(listener);
}

@Override
@NonNull
public GlideRequest<TranscodeType> error(@Nullable RequestBuilder<TranscodeType> builder) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,13 @@ public GlideRequest<TranscodeType> listener(@Nullable RequestListener<TranscodeT
return (GlideRequest<TranscodeType>) super.listener(listener);
}

@Override
@NonNull
@CheckResult
public GlideRequest<TranscodeType> addListener(@Nullable RequestListener<TranscodeType> listener) {
return (GlideRequest<TranscodeType>) super.addListener(listener);
}

@Override
@NonNull
public GlideRequest<TranscodeType> error(@Nullable RequestBuilder<TranscodeType> builder) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,13 @@ public GlideRequest<TranscodeType> listener(@Nullable RequestListener<TranscodeT
return (GlideRequest<TranscodeType>) super.listener(listener);
}

@Override
@NonNull
@CheckResult
public GlideRequest<TranscodeType> addListener(@Nullable RequestListener<TranscodeType> listener) {
return (GlideRequest<TranscodeType>) super.addListener(listener);
}

@Override
@NonNull
public GlideRequest<TranscodeType> error(@Nullable RequestBuilder<TranscodeType> builder) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,13 @@ public GlideRequest<TranscodeType> listener(@Nullable RequestListener<TranscodeT
return (GlideRequest<TranscodeType>) super.listener(listener);
}

@Override
@NonNull
@CheckResult
public GlideRequest<TranscodeType> addListener(@Nullable RequestListener<TranscodeType> listener) {
return (GlideRequest<TranscodeType>) super.addListener(listener);
}

@Override
@NonNull
public GlideRequest<TranscodeType> error(@Nullable RequestBuilder<TranscodeType> builder) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,13 @@ public GlideRequest<TranscodeType> listener(@Nullable RequestListener<TranscodeT
return (GlideRequest<TranscodeType>) super.listener(listener);
}

@Override
@NonNull
@CheckResult
public GlideRequest<TranscodeType> addListener(@Nullable RequestListener<TranscodeType> listener) {
return (GlideRequest<TranscodeType>) super.addListener(listener);
}

@Override
@NonNull
public GlideRequest<TranscodeType> error(@Nullable RequestBuilder<TranscodeType> builder) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,13 @@ public GlideRequest<TranscodeType> listener(@Nullable RequestListener<TranscodeT
return (GlideRequest<TranscodeType>) super.listener(listener);
}

@Override
@NonNull
@CheckResult
public GlideRequest<TranscodeType> addListener(@Nullable RequestListener<TranscodeType> listener) {
return (GlideRequest<TranscodeType>) super.addListener(listener);
}

@Override
@NonNull
public GlideRequest<TranscodeType> error(@Nullable RequestBuilder<TranscodeType> builder) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,13 @@ public GlideRequest<TranscodeType> listener(@Nullable RequestListener<TranscodeT
return (GlideRequest<TranscodeType>) super.listener(listener);
}

@Override
@NonNull
@CheckResult
public GlideRequest<TranscodeType> addListener(@Nullable RequestListener<TranscodeType> listener) {
return (GlideRequest<TranscodeType>) super.addListener(listener);
}

@Override
@NonNull
public GlideRequest<TranscodeType> error(@Nullable RequestBuilder<TranscodeType> builder) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,13 @@ public GlideRequest<TranscodeType> listener(@Nullable RequestListener<TranscodeT
return (GlideRequest<TranscodeType>) super.listener(listener);
}

@Override
@NonNull
@CheckResult
public GlideRequest<TranscodeType> addListener(@Nullable RequestListener<TranscodeType> listener) {
return (GlideRequest<TranscodeType>) super.addListener(listener);
}

@Override
@NonNull
public GlideRequest<TranscodeType> error(@Nullable RequestBuilder<TranscodeType> builder) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,13 @@ public GlideRequest<TranscodeType> listener(@Nullable RequestListener<TranscodeT
return (GlideRequest<TranscodeType>) super.listener(listener);
}

@Override
@NonNull
@CheckResult
public GlideRequest<TranscodeType> addListener(@Nullable RequestListener<TranscodeType> listener) {
return (GlideRequest<TranscodeType>) super.addListener(listener);
}

@Override
@NonNull
public GlideRequest<TranscodeType> error(@Nullable RequestBuilder<TranscodeType> builder) {
Expand Down

0 comments on commit 11a83f8

Please sign in to comment.