]> source.dussan.org Git - archiva.git/commitdiff
changed ordering of log when queueing tasks, it appears as if the task was queued...
authorMaria Odea B. Ching <oching@apache.org>
Wed, 16 Sep 2009 10:01:06 +0000 (10:01 +0000)
committerMaria Odea B. Ching <oching@apache.org>
Wed, 16 Sep 2009 10:01:06 +0000 (10:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@815697 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/SchedulerAction.java

index c81b7c2345da0e826bdac8748935451473f4a09c..25a9bb5106a7b27a20b81f92604677c4cae4000d 100644 (file)
@@ -91,8 +91,8 @@ public class SchedulerAction
         {
             try
             {
-                taskScheduler.queueRepositoryTask( task );
                 addActionMessage( "Your request to have repository [" + repoid + "] be indexed has been queued." );
+                taskScheduler.queueRepositoryTask( task );                
             }
             catch ( TaskQueueException e )
             {