Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getIfNewer (0.1 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java

            }
        }
    
        public boolean getIfNewer(String resourceName, File destination, long timestamp)
                throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException {
            if (!insideGet) {
                addTransfer("getIfNewer " + resourceName);
            }
            return super.getIfNewer(resourceName, destination, timestamp);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                        // This should take care of creating destination directory now on
                        if (destination.exists() && !force) {
                            try {
                                downloaded = wagon.getIfNewer(remotePath, temp, destination.lastModified());
    
                                if (!downloaded) {
                                    // prevent additional checks of this artifact until it expires again
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
Back to top