- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getRepositoryKey (0.15 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java
assertFalse(updateCheckManager.isUpdateRequired(a, remoteRepository)); assertNull( updateCheckManager.readLastUpdated(touchFile, updateCheckManager.getRepositoryKey(remoteRepository))); assertFalse(updateCheckManager.getTouchfile(a).exists()); } @Test void testMissingArtifact() throws Exception {
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/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
} public String getPathForRemoteMetadata(Metadata metadata, RemoteRepository repository, String context) { return getPath(metadata, getRepositoryKey(repository, context)); } String getRepositoryKey(RemoteRepository repository, String context) { return repository.getId(); } private String getPath(Metadata metadata, String repositoryKey) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
if (file.exists()) { lastCheckDate = new Date(file.lastModified()); } else { File touchfile = getTouchfile(artifact); lastCheckDate = readLastUpdated(touchfile, getRepositoryKey(repository)); } return (lastCheckDate == null) || policy.checkOutOfDate(lastCheckDate); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0)