public void setMaxVisitedCount(String maxVisitedCount) {

        if (m_frozen) {
            throw new CmsRuntimeException(Messages.get().container(Messages.ERR_CONFIG_SUBSCRIPTIONMANAGER_FROZEN_0));
        }
        try {
            int intValue = Integer.parseInt(maxVisitedCount);
            m_maxVisitedCount = (intValue > 0) ? intValue : DEFAULT_MAX_VISITEDCOUNT;
        } catch (NumberFormatException e) {
            // use default value
            m_maxVisitedCount = DEFAULT_MAX_VISITEDCOUNT;
        }
    }
public void setMaxVisitedCount ( String maxVisitedCount ) { if ( m_frozen ) { throw new CmsRuntimeException ( Messages . get ( ) . container ( Messages . ERR_CONFIG_SUBSCRIPTIONMANAGER_FROZEN_0 ) ) ; } try { int intValue = Integer . parseInt ( maxVisitedCount ) ; m_maxVisitedCount = ( intValue > 0 ) ? intValue : DEFAULT_MAX_VISITEDCOUNT ; } catch ( NumberFormatException e ) { m_maxVisitedCount = DEFAULT_MAX_VISITEDCOUNT ; } }
Sets the maximum number of visited resources to store per user.<p>

@param maxVisitedCount the maximum number of visited resources to store per user