From f98a12350e7aefce649c4338ca9dcf3ee7149f18 Mon Sep 17 00:00:00 2001 From: Lihuanghe Date: Tue, 25 Aug 2015 09:43:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B0=E5=BD=95Deliver=E7=9A=84Report?= =?UTF-8?q?=E6=97=A5=E5=BF=97=EF=BC=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- .../zx/sms/codec/cmpp/msg/CmppDeliverRequestMessage.java | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 03c61ff6..684bd877 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.zx.sms cmpp-core - 1.14 + 1.15 jar cmpp-core diff --git a/src/main/java/com/zx/sms/codec/cmpp/msg/CmppDeliverRequestMessage.java b/src/main/java/com/zx/sms/codec/cmpp/msg/CmppDeliverRequestMessage.java index 12579585..0390a18d 100644 --- a/src/main/java/com/zx/sms/codec/cmpp/msg/CmppDeliverRequestMessage.java +++ b/src/main/java/com/zx/sms/codec/cmpp/msg/CmppDeliverRequestMessage.java @@ -228,11 +228,12 @@ public CmppDeliverRequestMessage clone() throws CloneNotSupportedException { @Override public String toString() { + if(isReport()){ + return "CmppDeliverRequestMessage [msgId=" + msgId + ", destId=" + destId + ", serviceid=" + serviceid + ", srcterminalId=" + srcterminalId + + ", registeredDelivery=" + registeredDelivery + ", msgContent=" + msgContent + ", getHeader()=" + getHeader() + ", ReportRequest="+ getReportRequestMessage()+ "]"; + + } return "CmppDeliverRequestMessage [msgId=" + msgId + ", destId=" + destId + ", serviceid=" + serviceid + ", srcterminalId=" + srcterminalId + ", registeredDelivery=" + registeredDelivery + ", msgContent=" + msgContent + ", getHeader()=" + getHeader() + "]"; } - - - - }