1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-24 00:38:52 -05:00

* gracefully ignore if creationTime not supported on the given OS

This commit is contained in:
Reinhard Pointner 2012-10-24 12:16:56 +00:00
parent c2398cc6b0
commit cb4f1251bf

View File

@ -33,7 +33,7 @@ public class MetaAttributes {
try {
fileAttributeView.setTimes(null, null, FileTime.fromMillis(millis));
} catch (IOException e) {
throw new IllegalStateException(e);
// creationTime not supported => ignore
}
}