- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for isUpdateRequired (0.13 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java
touchFile.delete(); assertTrue(updateCheckManager.isUpdateRequired(a, remoteRepository)); file.getParentFile().mkdirs(); file.createNewFile(); updateCheckManager.touch(a, remoteRepository, null); assertFalse(updateCheckManager.isUpdateRequired(a, remoteRepository)); assertNull(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/UpdateCheckManager.java
* UpdateCheckManager */ @Deprecated public interface UpdateCheckManager { boolean isUpdateRequired(Artifact artifact, ArtifactRepository repository); void touch(Artifact artifact, ArtifactRepository repository, String error); String getError(Artifact artifact, ArtifactRepository repository); boolean isUpdateRequired(RepositoryMetadata metadata, ArtifactRepository repository, File file);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
} public static final String LAST_UPDATE_TAG = ".lastUpdated"; private static final String TOUCHFILE_NAME = "resolver-status.properties"; @Override public boolean isUpdateRequired(Artifact artifact, ArtifactRepository repository) { File file = artifact.getFile(); ArtifactRepositoryPolicy policy = artifact.isSnapshot() ? repository.getSnapshots() : repository.getReleases();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.9K bytes - Viewed (0)