File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
common/src/main/java/org/apache/rocketmq/common Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ public class ExpressionType {
59
59
public static final String TAG = "TAG" ;
60
60
61
61
public static boolean isTagType (String type ) {
62
- if (type == null || TAG .equals (type )) {
62
+ if (type == null || "" . equals ( type ) || TAG .equals (type )) {
63
63
return true ;
64
64
}
65
65
return false ;
Original file line number Diff line number Diff line change 21
21
package org .apache .rocketmq .common .protocol .heartbeat ;
22
22
23
23
import com .alibaba .fastjson .annotation .JSONField ;
24
+ import org .apache .rocketmq .common .filter .ExpressionType ;
25
+
24
26
import java .util .HashSet ;
25
27
import java .util .Set ;
26
28
@@ -32,7 +34,7 @@ public class SubscriptionData implements Comparable<SubscriptionData> {
32
34
private Set <String > tagsSet = new HashSet <String >();
33
35
private Set <Integer > codeSet = new HashSet <Integer >();
34
36
private long subVersion = System .currentTimeMillis ();
35
- private String expressionType ;
37
+ private String expressionType = ExpressionType . TAG ;
36
38
37
39
@ JSONField (serialize = false )
38
40
private String filterClassSource ;
You can’t perform that action at this time.
0 commit comments