iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/CorbaNamingContext.java
private void cleanup() {
        // Check if object purging enabled
        if (!this.doPurge)
            return;

        for (Name key : this.names.keySet()) {
            if (isDead(((org.omg.CORBA.Object) this.names.get(key)))) {
                this.names.remove(key);
            }
        }

        for (Name key : this.contexts.keySet()) {
            org.omg.CORBA.Object object = (org.omg.CORBA.Object) this.contexts.get(key);
            if (isDead(object)) {
                this.contexts.remove(key);
                String oid = this.getObjectOID(object);
                if (oid != null)
                    contextImpls.remove(oid);
            }
        }
    }
private void cleanup() {
        // Check if object purging enabled
        if (!this.doPurge)
            return;

        for (Name key : this.names.keySet()) {
            if (isDead(((org.omg.CORBA.Object) this.names.get(key)))) {
                this.names.remove(key);
            }
        }

        for (Name key : this.contexts.keySet()) {
            org.omg.CORBA.Object object = (org.omg.CORBA.Object) this.contexts.get(key);
            if (isDead(object)) {
                this.contexts.remove(key);
                String oid = this.getObjectOID(object);
                if (oid != null)
                    contextImpls.remove(oid);
            }
        }
    }
private void cleanup ( ) { // Check if object purging enabled if ( ! this . doPurge ) return ; for ( Name key : this . names . keySet ( ) ) { if ( isDead ( ( ( org . omg . CORBA . Object ) this . names . get ( key ) ) ) ) { this . names . remove ( key ) ; } } for ( Name key : this . contexts . keySet ( ) ) { org . omg . CORBA . Object object = ( org . omg . CORBA . Object ) this . contexts . get ( key ) ; if ( isDead ( object ) ) { this . contexts . remove ( key ) ; String oid = this . getObjectOID ( object ) ; if ( oid != null ) contextImpls . remove ( oid ) ; } } }
<p>
Cleanup bindings, i.e. ping every object and remove bindings to non-existent objects.
</p>
<p > Cleanup bindings i . e . ping every object and remove bindings to non - existent objects . < / p >