You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by jo...@apache.org on 2022/12/14 04:09:21 UTC
[incubator-eventmesh] branch master updated: EVENTMESH-2533 - Fixed return statement warnings (#2579)
This is an automated email from the ASF dual-hosted git repository.
jonyang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git
The following commit(s) were added to refs/heads/master by this push:
new f130aa579 EVENTMESH-2533 - Fixed return statement warnings (#2579)
f130aa579 is described below
commit f130aa579a7f96183da8ac396388e48282ac4fac
Author: Venkatesh Prasad Kannan <ve...@gmail.com>
AuthorDate: Wed Dec 14 04:09:16 2022 +0000
EVENTMESH-2533 - Fixed return statement warnings (#2579)
Co-authored-by: harikannan512 <ha...@gmail.com>
---
.../common/protocol/grpc/protos/Subscription.java | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/protos/Subscription.java b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/protos/Subscription.java
index cfb69dab1..7b33ff72b 100644
--- a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/protos/Subscription.java
+++ b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/protos/Subscription.java
@@ -589,8 +589,7 @@ private static final long serialVersionUID = 0L;
.equals(other.getTopic());
result = result && mode_ == other.mode_;
result = result && type_ == other.type_;
- result = result && unknownFields.equals(other.unknownFields);
- return result;
+ return result && unknownFields.equals(other.unknownFields);
}
@Override
@@ -696,8 +695,7 @@ private static final long serialVersionUID = 0L;
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
+ return new Builder(parent);
}
/**
* Protobuf type {@code eventmesh.common.protocol.grpc.Subscription.SubscriptionItem}
@@ -1727,8 +1725,7 @@ private static final long serialVersionUID = 0L;
.equals(other.getTag());
result = result && internalGetProperties().equals(
other.internalGetProperties());
- result = result && unknownFields.equals(other.unknownFields);
- return result;
+ return result && unknownFields.equals(other.unknownFields);
}
@Override
@@ -1846,8 +1843,7 @@ private static final long serialVersionUID = 0L;
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
+ return new Builder(parent);
}
/**
* Protobuf type {@code eventmesh.common.protocol.grpc.Subscription.Reply}
@@ -2942,8 +2938,7 @@ private static final long serialVersionUID = 0L;
result = result && getReply()
.equals(other.getReply());
}
- result = result && unknownFields.equals(other.unknownFields);
- return result;
+ return result && unknownFields.equals(other.unknownFields);
}
@Override
@@ -3059,8 +3054,7 @@ private static final long serialVersionUID = 0L;
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
+ return new Builder(parent);
}
/**
* Protobuf type {@code eventmesh.common.protocol.grpc.Subscription}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org