private void copyType(UserAgentInfo retObj, Long idBrowser) {
        try {
            lock.lock();

            BrowserEntry be = browserMap.get(idBrowser);
            if (be != null) {
                Long type = be.getType();
                if (type != null) {
                    String typeString = browserTypeMap.get(type);
                    if (typeString != null) {
                        retObj.setTyp(typeString);
                    }
                }
            }
        } finally {
            lock.unlock();
        }
    }
private void copyType ( UserAgentInfo retObj , Long idBrowser ) { try { lock . lock ( ) ; BrowserEntry be = browserMap . get ( idBrowser ) ; if ( be != null ) { Long type = be . getType ( ) ; if ( type != null ) { String typeString = browserTypeMap . get ( type ) ; if ( typeString != null ) { retObj . setTyp ( typeString ) ; } } } } finally { lock . unlock ( ) ; } }
Sets the source type, if possible

@param retObj
@param idBrowser