public synchronized void updateComplete ( ) { grailsClassesByName = Collections . unmodifiableMap ( grailsClassesByName ) ; classesByName = Collections . unmodifiableMap ( classesByName ) ; grailsClassesArray = grailsClasses . toArray ( new GrailsClass [ grailsClasses . size ( ) ] ) ; // Make classes array classes = classesByName . values ( ) . toArray ( new Class [ classesByName . size ( ) ] ) ; }
Refresh the arrays generated from the maps .