提交 b38d03ba 编写于 作者: S Sam Judd

Add types to base and simple targets

上级 80b7691d
......@@ -19,7 +19,7 @@ import com.bumptech.glide.request.Request;
* For loading {@link Bitmap}s into {@link View}s, {@link ViewTarget} is preferable to this class.
* </p>
*/
public abstract class BaseTarget implements Target {
public abstract class BaseTarget<Z> implements Target<Z> {
private Request request;
......
......@@ -5,7 +5,7 @@ package com.bumptech.glide.request.target;
* caller to specify an exact width/height.
*/
@SuppressWarnings("unused")
public abstract class SimpleTarget extends BaseTarget {
public abstract class SimpleTarget<Z> extends BaseTarget<Z> {
private final int width;
private final int height;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册