- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for createNewFile (0.51 sec)
-
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
dir1.mkdirs(); File expiredFile = new File(dir1, "expired.png"); expiredFile.createNewFile(); expiredFile.setLastModified(System.currentTimeMillis() - 10000L); File recentFile = new File(dir1, "recent.png"); recentFile.createNewFile(); recentFile.setLastModified(System.currentTimeMillis()); // Override purge to avoid client operations
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
File jar1 = new File(libDir, "test1.jar"); File jar2 = new File(libDir, "test2.JAR"); File notJar = new File(libDir, "test.txt"); assertTrue(jar1.createNewFile()); assertTrue(jar2.createNewFile()); assertTrue(notJar.createNewFile()); execJob.testAppendJarFile(":", buf, libDir, "/base/path/"); String result = buf.toString();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
*/ @SuppressWarnings("GoodTime") // reading system time without TimeSource public static void touch(File file) throws IOException { checkNotNull(file); if (!file.createNewFile() && !file.setLastModified(System.currentTimeMillis())) { throw new IOException("Unable to update modification time of " + file); } } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
*/ @SuppressWarnings("GoodTime") // reading system time without TimeSource public static void touch(File file) throws IOException { checkNotNull(file); if (!file.createNewFile() && !file.setLastModified(System.currentTimeMillis())) { throw new IOException("Unable to update modification time of " + file); } } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0)