import org.sonar.core.persistence.DbSession;
import org.sonar.server.component.db.ComponentDao;
import javax.annotation.CheckForNull;
import javax.annotation.Nullable;
import javax.xml.stream.XMLInputFactory;
<BUG>import javax.xml.stream.XMLStreamException;
import java.io.StringReader;</BUG>
import java.util.Collections;
import java.util.Comparator;
import java.util.List;

import org.sonar.core.persistence.DbSession;
import org.sonar.server.component.db.ComponentDao;
import javax.annotation.CheckForNull;
import javax.annotation.Nullable;
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamException;
import java.io.Serializable;
import java.io.StringReader;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
