This is an automated email from the ASF dual-hosted git repository.

tabish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-protonj2.git


The following commit(s) were added to refs/heads/main by this push:
     new 4117f897 PROTON-2912 Update field in ClientRejected constructor, not 
parameter
4117f897 is described below

commit 4117f89765291f63f88a491db5b7ffa0422f3775
Author: Arnaud Cogoluègnes <[email protected]>
AuthorDate: Tue Dec 9 14:31:14 2025 +0000

    PROTON-2912 Update field in ClientRejected constructor, not parameter
---
 .../java/org/apache/qpid/protonj2/client/impl/ClientDeliveryState.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/protonj2-client/src/main/java/org/apache/qpid/protonj2/client/impl/ClientDeliveryState.java
 
b/protonj2-client/src/main/java/org/apache/qpid/protonj2/client/impl/ClientDeliveryState.java
index 3320c7a7..3fc7183f 100644
--- 
a/protonj2-client/src/main/java/org/apache/qpid/protonj2/client/impl/ClientDeliveryState.java
+++ 
b/protonj2-client/src/main/java/org/apache/qpid/protonj2/client/impl/ClientDeliveryState.java
@@ -188,7 +188,7 @@ public abstract class ClientDeliveryState implements 
DeliveryState {
 
         ClientRejected(Rejected rejected) {
             if (rejected.getError() != null) {
-                rejected.setError(rejected.getError().copy());
+                this.rejected.setError(rejected.getError().copy());
             }
         }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to