- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for canRead (0.14 sec)
-
maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
this.managedVersions = ArtifactUtils.copyArtifacts(managedVersions, new LinkedHashMap<>()); } File pomFile = pomArtifact.getFile(); if (pomFile != null && pomFile.canRead()) { this.length = pomFile.length(); this.timestamp = pomFile.lastModified(); } else { this.length = -1; this.timestamp = -1; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Jun 15 14:24:56 GMT 2023 - 11.8K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
Properties props = new Properties(); channel = new RandomAccessFile(touchfile, "rw").getChannel(); lock = channel.lock(); if (touchfile.canRead()) { getLogger().debug("Reading resolution-state from: " + touchfile); props.load(Channels.newInputStream(channel)); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 12.1K bytes - Viewed (0)