@ PostConstruct public void warnOnApathyKeyInMappings ( ) { if ( null != profileKeyForNoSelection && immutableMappings . containsKey ( profileKeyForNoSelection ) ) { logger . warn ( "Configured to treat profile key {} as apathy, " + "yet also configured to map that key to profile fname {}. Apathy wins. " + "This is likely just fine, but it might be a misconfiguration." , profileKeyForNoSelection , immutableMappings . get ( profileKeyForNoSelection ) ) ; } }
Log a warning when configured such that a profile key both means apathy and means a particular profile fname .