summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-scheduler
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-02-26 08:08:13 +0000
committerOlivier Lamy <olamy@apache.org>2012-02-26 08:08:13 +0000
commitec49aa3e4b9567518cac2c7cd5ab041a8cd090c2 (patch)
tree3b684cd37fcc62bc241b5a61c90b46b2ad3224d7 /archiva-modules/archiva-scheduler
parenta4544331a8ac8d376540913401b52d2ce61149aa (diff)
downloadarchiva-ec49aa3e4b9567518cac2c7cd5ab041a8cd090c2.tar.gz
archiva-ec49aa3e4b9567518cac2c7cd5ab041a8cd090c2.zip
fix compilation issues
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293769 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-scheduler')
-rw-r--r--archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/test/java/org/apache/archiva/scheduler/indexing/mock/MockRepositorySessionFactory.java22
1 files changed, 10 insertions, 12 deletions
diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/test/java/org/apache/archiva/scheduler/indexing/mock/MockRepositorySessionFactory.java b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/test/java/org/apache/archiva/scheduler/indexing/mock/MockRepositorySessionFactory.java
index b05d55fec..063fa4b4b 100644
--- a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/test/java/org/apache/archiva/scheduler/indexing/mock/MockRepositorySessionFactory.java
+++ b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/test/java/org/apache/archiva/scheduler/indexing/mock/MockRepositorySessionFactory.java
@@ -42,26 +42,26 @@ import java.util.List;
public class MockRepositorySessionFactory
implements RepositorySessionFactory
{
- public RepositorySession createSession( )
+ public RepositorySession createSession()
{
return new RepositorySession( null, null )
{
@Override
- public void close( )
+ public void close()
{
return;
}
@Override
- public void save( )
+ public void save()
{
// no op
}
@Override
- public MetadataRepository getRepository( )
+ public MetadataRepository getRepository()
{
- return new MetadataRepository( )
+ return new MetadataRepository()
{
public void updateProject( String repositoryId, ProjectMetadata project )
throws MetadataRepositoryException
@@ -92,7 +92,7 @@ public class MockRepositorySessionFactory
public List<String> getMetadataFacets( String repositoryId, String facetId )
throws MetadataRepositoryException
{
- return Collections.emptyList( );
+ return Collections.emptyList();
}
public MetadataFacet getMetadataFacet( String repositoryId, String facetId, String name )
@@ -126,7 +126,7 @@ public class MockRepositorySessionFactory
return null; //To change body of implemented methods use File | Settings | File Templates.
}
- public Collection<String> getRepositories( )
+ public Collection<String> getRepositories()
throws MetadataRepositoryException
{
return null; //To change body of implemented methods use File | Settings | File Templates.
@@ -216,19 +216,17 @@ public class MockRepositorySessionFactory
return null; //To change body of implemented methods use File | Settings | File Templates.
}
- public void save( )
- throws MetadataRepositoryException
+ public void save()
{
//To change body of implemented methods use File | Settings | File Templates.
}
- public void close( )
+ public void close()
{
//To change body of implemented methods use File | Settings | File Templates.
}
- public void revert( )
- throws MetadataRepositoryException
+ public void revert()
{
//To change body of implemented methods use File | Settings | File Templates.
}