rocketmq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vongosl...@apache.org
Subject [rocketmq] branch develop updated: modify exception declaration
Date Fri, 14 Jun 2019 04:17:44 GMT
This is an automated email from the ASF dual-hosted git repository.

vongosling pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git


The following commit(s) were added to refs/heads/develop by this push:
     new a7e77d2  modify exception declaration
a7e77d2 is described below

commit a7e77d282a46cd1a89bd93e270e8c8a0051c34a3
Author: 周浪 <zl07499@ly.com>
AuthorDate: Thu May 23 17:34:22 2019 +0800

    modify exception declaration
    
    modify "TimeDelayLevel in not supported for batching"
---
 .../src/main/java/org/apache/rocketmq/common/message/MessageBatch.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/src/main/java/org/apache/rocketmq/common/message/MessageBatch.java b/common/src/main/java/org/apache/rocketmq/common/message/MessageBatch.java
index ca2ce88..a6b801e 100644
--- a/common/src/main/java/org/apache/rocketmq/common/message/MessageBatch.java
+++ b/common/src/main/java/org/apache/rocketmq/common/message/MessageBatch.java
@@ -46,7 +46,7 @@ public class MessageBatch extends Message implements Iterable<Message>
{
         Message first = null;
         for (Message message : messages) {
             if (message.getDelayTimeLevel() > 0) {
-                throw new UnsupportedOperationException("TimeDelayLevel in not supported
for batching");
+                throw new UnsupportedOperationException("TimeDelayLevel is not supported
for batching");
             }
             if (message.getTopic().startsWith(MixAll.RETRY_GROUP_TOPIC_PREFIX)) {
                 throw new UnsupportedOperationException("Retry Group is not supported for
batching");


Mime
View raw message