fixed findbugs

This commit is contained in:
jinyu 2015-06-10 00:18:47 +08:00
parent 3e624662d0
commit 01ba9bc643
3 changed files with 11 additions and 2 deletions

View File

@ -12,5 +12,7 @@ import com.foxinmy.weixin4j.http.entity.HttpEntity;
* @see
*/
public abstract class HttpEntityRequest extends AbstractHttpRequest {
public abstract void setEntity(HttpEntity entity);
public abstract HttpEntity getEntity();
}

View File

@ -42,7 +42,8 @@ public class HttpPost extends HttpEntityRequest {
return entity;
}
public void setEntity(HttpEntity httpEntity) {
this.entity = httpEntity;
@Override
public void setEntity(HttpEntity entity) {
this.entity = entity;
}
}

View File

@ -54,6 +54,7 @@ public class RedpacketRecord extends XmlResult {
/**
* 红包状态
*/
@XmlElement(name = "status")
private RedpacketStatus status;
/**
* 发放类型
@ -82,6 +83,7 @@ public class RedpacketRecord extends XmlResult {
/**
* 发送失败原因
*/
@XmlElement(name = "reason")
private String reason;
/**
* 发放时间
@ -104,10 +106,12 @@ public class RedpacketRecord extends XmlResult {
/**
* 祝福语
*/
@XmlElement(name = "wishing")
private String wishing;
/**
* 活动描述
*/
@XmlElement(name = "remark")
private String remark;
/**
* 活动名称
@ -229,10 +233,12 @@ public class RedpacketRecord extends XmlResult {
/**
* 领取红包的Openid
*/
@XmlElement(name = "openid")
private String openid;
/**
* 领取状态
*/
@XmlElement(name = "status")
private RedpacketStatus status;
/**
* 领取金额