哪吒机器人提醒:

提醒:CodeBits - Tested Complex Code!
【标题】Detecting Unsorted Spring Beans
【摘要】i like my spring beans definition files to be sorted. so i wrote the following code. eventually i might turn it into a junit test for my continuous integration server.package play;import java.io.ioexception;import java.util.listiterator;import org.jdom.attribute;import org.jdom.document;import org.jdom.element;import org.jdom.jdomexception;import org.jdom.input.saxbuilder;public class unsortedspringbeans { public static void checksortorder(final string filename) throws jdomexception, ... (06-18 00:30)