proper File.eq, amending df49ca5da9d0;
authorwenzelm
Sat, 27 Feb 2021 19:45:33 +0100
changeset 73319 a7d9edd2e63b
parent 73318 a45cb064709b
child 73320 20157c8ab3f3
proper File.eq, amending df49ca5da9d0;
src/Pure/System/isabelle_system.scala
--- a/src/Pure/System/isabelle_system.scala	Sat Feb 27 19:42:44 2021 +0100
+++ b/src/Pure/System/isabelle_system.scala	Sat Feb 27 19:45:33 2021 +0100
@@ -218,7 +218,7 @@
   def copy_file(src: JFile, dst: JFile): Unit =
   {
     val target = if (dst.isDirectory) new JFile(dst, src.getName) else dst
-    if (!eq(src, target)) {
+    if (!File.eq(src, target)) {
       Files.copy(src.toPath, target.toPath,
         StandardCopyOption.COPY_ATTRIBUTES,
         StandardCopyOption.REPLACE_EXISTING)
@@ -241,7 +241,7 @@
   def move_file(src: JFile, dst: JFile)
   {
     val target = if (dst.isDirectory) new JFile(dst, src.getName) else dst
-    if (!eq(src, target))
+    if (!File.eq(src, target))
       Files.move(src.toPath, target.toPath, StandardCopyOption.REPLACE_EXISTING)
   }