summaryrefslogtreecommitdiffstats
path: root/archiva-core
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2006-09-09 15:51:32 +0000
committerBrett Porter <brett@apache.org>2006-09-09 15:51:32 +0000
commit9dd5b3e9880fbbf3ae5bf5072edc61446587206e (patch)
tree47b5f66210375cd526b7ed95ad427e7176896858 /archiva-core
parent1a3026414e9a5c3a02d3bbb31fbf92fc388600f5 (diff)
downloadarchiva-9dd5b3e9880fbbf3ae5bf5072edc61446587206e.tar.gz
archiva-9dd5b3e9880fbbf3ae5bf5072edc61446587206e.zip
clarify some TODO elements
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441803 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-core')
-rw-r--r--archiva-core/src/main/java/org/apache/maven/archiva/scheduler/DefaultRepositoryTaskScheduler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/archiva-core/src/main/java/org/apache/maven/archiva/scheduler/DefaultRepositoryTaskScheduler.java b/archiva-core/src/main/java/org/apache/maven/archiva/scheduler/DefaultRepositoryTaskScheduler.java
index 3db17e8ed..bee12f078 100644
--- a/archiva-core/src/main/java/org/apache/maven/archiva/scheduler/DefaultRepositoryTaskScheduler.java
+++ b/archiva-core/src/main/java/org/apache/maven/archiva/scheduler/DefaultRepositoryTaskScheduler.java
@@ -97,7 +97,7 @@ public class DefaultRepositoryTaskScheduler
private void scheduleJobs( Configuration configuration )
throws ParseException, SchedulerException
{
- // TODO! would be nice to queue jobs that are triggered so we could avoid two running at the same time (so have a queue for discovery based jobs so they didn't thrash the repo)
+ // TODO: would be nice to queue jobs that are triggered so we could avoid two running at the same time (so have a queue for discovery based jobs so they didn't thrash the repo)
if ( configuration.getIndexPath() != null )
{
JobDetail jobDetail = createJobDetail( INDEXER_JOB, indexerTask );
@@ -107,7 +107,7 @@ public class DefaultRepositoryTaskScheduler
new CronTrigger( INDEXER_JOB + "Trigger", DISCOVERER_GROUP, configuration.getIndexerCronExpression() );
scheduler.scheduleJob( jobDetail, trigger );
- // TODO: run as a job so it doesn't block startup/configuration saving!
+ // TODO: run as a job so it doesn't block startup/configuration saving
try
{
indexerTask.executeNowIfNeeded();