From 3021345dd614a2658752f51d6002d07720618e6b Mon Sep 17 00:00:00 2001 From: tanghc Date: Tue, 10 Sep 2019 09:11:27 +0800 Subject: [PATCH] 2.1.0 --- .../main/java/com/gitee/sop/sdk/request/BaseRequest.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sop-sdk/sdk-java/src/main/java/com/gitee/sop/sdk/request/BaseRequest.java b/sop-sdk/sdk-java/src/main/java/com/gitee/sop/sdk/request/BaseRequest.java index 9b0cbe2e..940c0a51 100644 --- a/sop-sdk/sdk-java/src/main/java/com/gitee/sop/sdk/request/BaseRequest.java +++ b/sop-sdk/sdk-java/src/main/java/com/gitee/sop/sdk/request/BaseRequest.java @@ -56,14 +56,11 @@ public abstract class BaseRequest { protected abstract String method(); public BaseRequest() { - this.setMethodVersion(this.method(), this.version()); + this.method = method(); + this.version = version(); } protected BaseRequest(String method, String version) { - this.setMethodVersion(method, version); - } - - private void setMethodVersion(String method, String version) { this.method = method; this.version = version; }