очистка отладочной печати. тоже кое-что накопилось.

This commit is contained in:
2025-01-29 14:08:57 +03:00
parent 8c9835f8fd
commit f5e411c827
15 changed files with 36 additions and 40 deletions

View File

@@ -90,7 +90,7 @@ public class Utils {
InputStream i = u.openStream();
Files.copy(i, dst.toPath(), StandardCopyOption.REPLACE_EXISTING);
}
//просто дать объект под файл с сгенерированным именем
//просто дать объект под файл с сгенерированным именем System.out.println
public static File CreateTempFile(String name, String text) throws IOException {
File res = getTempFileName(name);
WriteToFile(res, text);
@@ -169,7 +169,6 @@ public class Utils {
float rad = inner ? r : R;
System.out.println("x=" + (x0 + rad * Math.cos(phi + Math.PI * i / n)));
System.out.println("y=" + (y0 + rad * Math.sin(phi + Math.PI * i / n)));
System.out.println("--");
inner = !inner;
}
}
@@ -772,7 +771,6 @@ public class Utils {
if (dates.isEmpty()) {
dates.add(dir.lastModified());
}
System.out.println(new Date(dates.lastElement()));
return dates.firstElement();
}
}