archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/DefaultRepositoryCommonValidator.java
/**
     * replace some interpolations ${appserver.base} with correct values
     *
     * @param directory
     * @return
     */
replace some interpolations ${appserver.base} with correct values
@param directory
@return
replace some interpolations $ { appserver . base } with correct values @param directory @return
@Override
    public String removeExpressions( String directory )
    {
        String value = StringUtils.replace( directory, "${appserver.base}",
            getRegistry( ).getString( "appserver.base", "${appserver.base}" ) );
        value = StringUtils.replace( value, "${appserver.home}",
            getRegistry( ).getString( "appserver.home", "${appserver.home}" ) );
        return value;
    }
@ Override public String removeExpressions ( String directory ) { String value = StringUtils . replace ( directory , "${appserver.base}" , getRegistry ( ) . getString ( "appserver.base" , "${appserver.base}" ) ) ; value = StringUtils . replace ( value , "${appserver.home}" , getRegistry ( ) . getString ( "appserver.home" , "${appserver.home}" ) ) ; return value ; }
replace some interpolations ${appserver.base} with correct values
 @param directory
 @return
replace some interpolations $ { appserver . base } with correct values @param directory @return