fixed findbugs
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user