private boolean startLoading ( String name ) { Set classesAndResources = ( Set ) cycleDetector . get ( ) ; if ( classesAndResources != null && classesAndResources . contains ( name ) ) return false ; if ( classesAndResources == null ) { classesAndResources = new HashSet ( 3 ) ; cycleDetector . set ( classesAndResources ) ; } classesAndResources . add ( name ) ; return true ; }
False is returned when a cycle is being detected