You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had searched in the issues and found no similar issues.
Enhancement Request
located at:
eventmesh-protocol-plugin/eventmesh-protocol-cloudevents/src/main/java/org/apache/eventmesh/protocol/cloudevents/resolver/grpc/GrpcEventMeshCloudEventProtocolResolver.java line 43,51,60
analysis and explanation:
a. Immediately return this expression instead of assigning it to the temporary variable "event".
b. Method invocation 'deserialize' may produce 'NullPointerException'
Describe the solution you'd like
Inline variable and use Objects.requireNonNull()
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered:
)
* [ISSUE #4269] Used switch to replace the if-else. [MeshMessageProtocolAdaptor]
* [ISSUE #4269] Used switch to replace the if-else. [MeshMessageProtocolAdaptor]
* [ISSUE #4269] Used switch to replace the if-else. [MeshMessageProtocolAdaptor]
* [ISSUE #4269] Used switch to replace the if-else. [MeshMessageProtocolAdaptor]
* [ISSUE #4267] Optimized [GrpcEventMeshCloudEventProtocolResolver]
* [ISSUE #4267] Optimized [GrpcEventMeshCloudEventProtocolResolver]
Search before asking
Enhancement Request
located at:
eventmesh-protocol-plugin/eventmesh-protocol-cloudevents/src/main/java/org/apache/eventmesh/protocol/cloudevents/resolver/grpc/GrpcEventMeshCloudEventProtocolResolver.java line 43,51,60
analysis and explanation:
a. Immediately return this expression instead of assigning it to the temporary variable "event".
b. Method invocation 'deserialize' may produce 'NullPointerException'
Describe the solution you'd like
Inline variable and use Objects.requireNonNull()
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: