[Java] Update auto-generated Java structs
[ldk-java] / src / main / java / org / ldk / structs / TwoTuple_SignatureSignatureZ.java
index 01d05b0ce0941bda1697455912e693e6abb1382b..f16acca50a0e2a4a5fcec724660b38046faa1662 100644 (file)
@@ -53,7 +53,7 @@ public class TwoTuple_SignatureSignatureZ extends CommonBase {
                Reference.reachabilityFence(this);
                if (ret >= 0 && ret <= 4096) { return null; }
                TwoTuple_SignatureSignatureZ ret_hu_conv = new TwoTuple_SignatureSignatureZ(null, ret);
-               ret_hu_conv.ptrs_to.add(this);
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(this); };
                return ret_hu_conv;
        }
 
@@ -66,7 +66,7 @@ public class TwoTuple_SignatureSignatureZ extends CommonBase {
                Reference.reachabilityFence(b);
                if (ret >= 0 && ret <= 4096) { return null; }
                TwoTuple_SignatureSignatureZ ret_hu_conv = new TwoTuple_SignatureSignatureZ(null, ret);
-               ret_hu_conv.ptrs_to.add(ret_hu_conv);
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(ret_hu_conv); };
                return ret_hu_conv;
        }