[Java] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / src / main / java / org / ldk / structs / Hostname.java
index a6d90d2c67a6b3f9c3dd32048ad77c7b11f98df7..35154e59831983129fcc5d93fb37d6c50568e913 100644 (file)
@@ -62,7 +62,7 @@ public class Hostname extends CommonBase {
         * Two objects with NULL inner values will be considered "equal" here.
         */
        public boolean eq(org.ldk.structs.Hostname b) {
-               boolean ret = bindings.Hostname_eq(this.ptr, b == null ? 0 : b.ptr);
+               boolean ret = bindings.Hostname_eq(this.ptr, b.ptr);
                Reference.reachabilityFence(this);
                Reference.reachabilityFence(b);
                if (this != null) { this.ptrs_to.add(b); };