[Java] Update auto-generated Java structs
[ldk-java] / src / main / java / org / ldk / structs / CounterpartyForwardingInfo.java
index 405a51a254a42ed9ba2f1dde145f1d00f6e938cd..0f2f17786eeea9e9696f238bc61cff68b92d3f2f 100644 (file)
@@ -87,8 +87,8 @@ public class CounterpartyForwardingInfo extends CommonBase {
                Reference.reachabilityFence(fee_proportional_millionths_arg);
                Reference.reachabilityFence(cltv_expiry_delta_arg);
                if (ret >= 0 && ret <= 4096) { return null; }
-               CounterpartyForwardingInfo ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new CounterpartyForwardingInfo(null, ret); }
-               ret_hu_conv.ptrs_to.add(ret_hu_conv);
+               org.ldk.structs.CounterpartyForwardingInfo ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new org.ldk.structs.CounterpartyForwardingInfo(null, ret); }
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(ret_hu_conv); };
                return ret_hu_conv;
        }
 
@@ -105,8 +105,8 @@ public class CounterpartyForwardingInfo extends CommonBase {
                long ret = bindings.CounterpartyForwardingInfo_clone(this.ptr);
                Reference.reachabilityFence(this);
                if (ret >= 0 && ret <= 4096) { return null; }
-               CounterpartyForwardingInfo ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new CounterpartyForwardingInfo(null, ret); }
-               ret_hu_conv.ptrs_to.add(this);
+               org.ldk.structs.CounterpartyForwardingInfo ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new org.ldk.structs.CounterpartyForwardingInfo(null, ret); }
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(this); };
                return ret_hu_conv;
        }