private void setLegacyParam ( String legacyParamName , Object paramValue ) { if ( ! m_bWarnedLegacyParam ) { logger . warn ( "Parameter '{}': Legacy parameter format is being phased-out. " + "Please use new module/parameter format." , legacyParamName ) ; m_bWarnedLegacyParam = true ; } String moduleName = g_legacyToModuleMap . get ( legacyParamName ) ; if ( moduleName == null ) { logger . warn ( "Skipping unknown legacy parameter: {}" , legacyParamName ) ; } else { setModuleParam ( moduleName , legacyParamName , paramValue ) ; } }
Sets a parameter using a legacy name .