mirror of
https://github.com/processing/processing4.git
synced 2026-02-02 21:29:17 +01:00
moving things around and breaking cvs directory structure
This commit is contained in:
@@ -1195,8 +1195,9 @@ public class PdeEditor extends Panel {
|
||||
from.close(); // ??
|
||||
to.close(); // ??
|
||||
|
||||
#ifdef JDK13
|
||||
bfile.setLastModified(afile.lastModified()); // jdk13 required
|
||||
|
||||
#endif
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
@@ -1215,7 +1216,9 @@ public class PdeEditor extends Panel {
|
||||
if (source.isDirectory()) {
|
||||
target.mkdirs();
|
||||
copyDir(source, target);
|
||||
#ifdef JDK13
|
||||
target.setLastModified(source.lastModified());
|
||||
#endif
|
||||
} else {
|
||||
copyFile(source, target);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user