private void loadTypePriorities ( AnyObject config ) { AnyObject tpObject = config . getAnyObject ( "type-priorities" ) ; if ( tpObject == null ) { return ; } try { String [ ] typePrioritiesArray = getFromListOrInherit ( tpObject , "type-list" ) ; this . typePriorities = TypePrioritiesFactory . createTypePriorities ( typePrioritiesArray ) ; } catch ( IOException e ) { System . err . println ( "Failed to load type-priorities." ) ; e . printStackTrace ( ) ; } }
Load type priorities