iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/WorkCacheManager.java
private ContainerAnalysis lookupDone(Class cls) {
        SoftReference ref = (SoftReference) workDone.get(cls);
        if (ref == null)
            return null;
        ContainerAnalysis ret = (ContainerAnalysis) ref.get();
        if (ret == null)
            workDone.remove(cls); // clear map entry if soft ref. was cleared.
        return ret;
    }
private ContainerAnalysis lookupDone(Class cls) {
        SoftReference ref = (SoftReference) workDone.get(cls);
        if (ref == null)
            return null;
        ContainerAnalysis ret = (ContainerAnalysis) ref.get();
        if (ret == null)
            workDone.remove(cls); // clear map entry if soft ref. was cleared.
        return ret;
    }
private ContainerAnalysis lookupDone ( Class cls ) { SoftReference ref = ( SoftReference ) workDone . get ( cls ) ; if ( ref == null ) return null ; ContainerAnalysis ret = ( ContainerAnalysis ) ref . get ( ) ; if ( ret == null ) workDone . remove ( cls ) ; // clear map entry if soft ref. was cleared. return ret ; }
Lookup an analysis in the fully done map.
Lookup an analysis in the fully done map .