- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getMetadataKey (0.11 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
File touchfile = getTouchfile(metadata, file); String key = getMetadataKey(repository, file); writeLastUpdated(touchfile, key, null); } String getMetadataKey(ArtifactRepository repository, File file) { return repository.getId() + '.' + file.getName() + LAST_UPDATE_TAG; }
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/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java
assertFalse(updateCheckManager.isUpdateRequired(metadata, remoteRepository, file)); assertNotNull(updateCheckManager.readLastUpdated( touchFile, updateCheckManager.getMetadataKey(remoteRepository, file))); } @Test void testMissingMetadata() throws Exception { ArtifactRepository remoteRepository = remoteRepository();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.7K bytes - Viewed (0)