Commit b29d6020 authored by marceteau's avatar marceteau
Browse files
parents cc341f25 37669d93
......@@ -356,12 +356,18 @@ public class DCToSeda21Converter extends AbstractArchiveConverter {
DataObject dataObject = new DataObject(oldBinary.getFileInfo().getFilename());
informationPackage.getDataObjectList().add(dataObject);
}
clean();
return manifest;
}
/**
private void clean() {
new File("DROID_config.xml").delete();
}
/**
* Réalise le mapping des entêtes
* @return renvoie la submission agency nécessaire dans un bloc <ArchiveUnit>
*/
......@@ -1140,6 +1146,7 @@ public class DCToSeda21Converter extends AbstractArchiveConverter {
}
format = (ValidableFormat) validator.getIdentifiedFormat();
} else {
format = new ValidableFormat(document.getFormatFichier(), document.getEncodage());
format.setTypeMimes(new ArrayList<String>());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment