}
private void checkSplitPloints(File origSplitPoints, File fragmentsFile)
throws Exception {
JSONObject jsPoints = new JSONObject(stringContent(fragmentsFile));
final JSONArray initSeq = (JSONArray) jsPoints.opt(EntityRecorder.INITIAL_SEQUENCE);
if (initSeq != null) {
// Considering stable order on "initial sequence". May be this is too strict, in that case,
// we need to store the elements in a list and provide a search method
JSONArray fragments = (JSONArray) jsPoints.get(EntityRecorder.FRAGMENTS);
final Map<Integer, JSONObject> fragmentById = Maps.newHashMap();