- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 228 for toDate (0.26 sec)
-
guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
assertThat(child.delete()).isTrue(); if (!isAndroid() && !isWindows()) { PosixFileAttributes attributes = java.nio.file.Files.getFileAttributeView(temp.toPath(), PosixFileAttributeView.class) .readAttributes(); assertThat(attributes.permissions()) .containsExactly(OWNER_READ, OWNER_WRITE, OWNER_EXECUTE); } } finally {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 06 17:11:11 UTC 2023 - 4.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java
} @Override public Model read(File input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null"); return read(input.toPath(), options); } @Override public Model read(Path path, Map<String, ?> options) throws IOException { Objects.requireNonNull(path, "path cannot be null");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java
} @Nonnull @Override public Optional<Path> getPomFile() { return Optional.ofNullable(res.getPomFile()).map(File::toPath); } @Nonnull @Override public Optional<Project> getProject() { return Optional.ofNullable(session.getProject(res.getProject()));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
assertThat(file.getName()).contains("FileBackedOutputStream"); if (!isAndroid() && !isWindows()) { PosixFileAttributes attributes = java.nio.file.Files.getFileAttributeView(file.toPath(), PosixFileAttributeView.class) .readAttributes(); assertThat(attributes.permissions()).containsExactly(OWNER_READ, OWNER_WRITE); } } out.close();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java
validateApi(body, messages -> {}); return asStream("badword.csv").contentTypeOctetStream().stream(out -> { final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-badword-", ".csv").toPath(); try { try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) { badWordService.exportCsv(writer);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.4K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/BuildModelSourceTransformerTest.java
.version("1.0-SNAPSHOT") .build()); Mockito.when(context.getRawModel(pomFile, root.resolve("pom.xml"))).thenReturn(parent); Mockito.when(context.locate(root)).thenReturn(root.resolve("pom.xml")); Model initial = new Model(org.apache.maven.api.model.Model.newBuilder() .parent(org.apache.maven.api.model.Parent.newBuilder()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/DataStoreFactory.java
final File[] jarFiles = ResourceUtil.getPluginJarFiles(PluginHelper.ArtifactType.DATA_STORE.getId()); for (final File jarFile : jarFiles) { try (FileSystem fs = FileSystems.newFileSystem(jarFile.toPath(), ClassLoader.getSystemClassLoader())) { final Path xmlPath = fs.getPath("fess_ds++.xml"); try (InputStream is = Files.newInputStream(xmlPath)) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.1K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard.go
var podName, ns string if labelSelector != "" { pl, err := kubeClient.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.Namespace()), labelSelector) if err != nil { return fmt.Errorf("not able to locate pod with selector %s: %v", labelSelector, err) } if len(pl.Items) < 1 { return errors.New("no pods found") } if len(pl.Items) > 1 {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Apr 15 01:29:35 UTC 2024 - 20.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java
Path pomPath = model.getPomPath(); if (pomPath != null) { buffer.append(" (").append(pomPath).append(')'); } return buffer.toString(); } static String toPath(Model model) { String path = ""; if (model != null) { Path pomPath = model.getPomPath(); if (pomPath != null) { path = pomPath.toAbsolutePath().toString();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java
} } private org.apache.maven.api.services.Source toSource(File file, Source source) { if (file != null && file.exists()) { return org.apache.maven.api.services.Source.fromPath(file.toPath()); } else if (source instanceof FileSource fs) { return org.apache.maven.api.services.Source.fromPath(fs.getPath()); } else if (source != null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.3K bytes - Viewed (0)