Widen return type of Schema.getAttributes().
Use an ArrayDeque rather than a LinkedList; better memory usage.
Code hygiene: Remove @author, @version, @since tags; remove trailing spaces; expand tabs.