Commit d042aa77 authored by granier's avatar granier
Browse files

nettoyage DROID_config.xml

parent e5762581
......@@ -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>
*/
......@@ -1138,6 +1144,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