return null;
}
- private long getLastModified( File file )
- {
- if ( !file.exists() || !file.isFile() )
- {
- return 0;
- }
-
- return file.lastModified();
- }
-
- private boolean hasBeenUpdated( File file, long originalLastModified )
- {
- if ( !file.exists() || !file.isFile() )
- {
- return false;
- }
-
- long currentLastModified = getLastModified( file );
- return ( currentLastModified > originalLastModified );
- }
-
public File fetchFromProxies( ManagedRepositoryContent repository, ProjectReference metadata )
{
File workingDir = createWorkingDirectory(repository);
return null;
}
+ private long getLastModified( File file )
+ {
+ if ( !file.exists() || !file.isFile() )
+ {
+ return 0;
+ }
+
+ return file.lastModified();
+ }
+
+ private boolean hasBeenUpdated( File file, long originalLastModified )
+ {
+ if ( !file.exists() || !file.isFile() )
+ {
+ return false;
+ }
+
+ long currentLastModified = getLastModified( file );
+ return ( currentLastModified > originalLastModified );
+ }
+
private File toLocalRepoFile( ManagedRepositoryContent repository, RemoteRepositoryContent targetRepository,
String targetPath )
{