File repoDir = new File( repository.getLocation(), path );
if ( !repoDir.exists() )
{
throw new ContentNotFoundException( "Unable to get Versions on a non-existant directory: "
+ repoDir.getAbsolutePath() );
}
if ( !repoDir.isDirectory() )
{
throw new ContentNotFoundException( "Unable to get Versions on a non-directory: "
+ repoDir.getAbsolutePath() );
}
Set<String> foundVersions = new HashSet<String>();
VersionedReference versionRef = new VersionedReference();