From 5fcc11633e6e2bbcc3759ba0a4e24fe982ae776c Mon Sep 17 00:00:00 2001 From: jinyu Date: Thu, 21 Jan 2016 13:06:17 +0800 Subject: [PATCH] up --- .../com/foxinmy/weixin4j/type/IdQuery.java | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/weixin4j-base/src/main/java/com/foxinmy/weixin4j/type/IdQuery.java b/weixin4j-base/src/main/java/com/foxinmy/weixin4j/type/IdQuery.java index efe6c14a..4af8efe1 100644 --- a/weixin4j-base/src/main/java/com/foxinmy/weixin4j/type/IdQuery.java +++ b/weixin4j-base/src/main/java/com/foxinmy/weixin4j/type/IdQuery.java @@ -25,27 +25,19 @@ public class IdQuery implements Serializable { */ private IdType type; + public IdQuery(String id, IdType idType) { + this.id = id; + this.type = idType; + } + public String getId() { return id; } - public void setId(String id) { - this.id = id; - } - public IdType getType() { return type; } - public void setType(IdType type) { - this.type = type; - } - - public IdQuery(String id, IdType idType) { - this.id = id; - this.type = idType; - } - @Override public String toString() { return String.format("%s=%s", type.getName(), id);