private static String getMessage ( Collection < Object > brokenReferences ) { StringBuilder sb = new StringBuilder ( ) ; for ( Object o : brokenReferences ) { if ( sb . length ( ) > 0 ) { sb . append ( ", " ) ; } sb . append ( o ) ; } return "Unable to resolve reference to bean [" + sb . toString ( ) + "]" ; }
Gets the detail message .