Skip to content

Commit

Permalink
Fix inconsistency in printed version format
Browse files Browse the repository at this point in the history
  • Loading branch information
lahma committed Jul 31, 2021
1 parent cf6bf57 commit d648a05
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions docs/documentation/quartz-3.x/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ Now we should get a lot more information when we start the application.
```
[12.51.10] [Info] Quartz.NET properties loaded from configuration file 'C:\QuartzSampleApp\quartz.config'
[12.51.10] [Info] Initialized Scheduler Signaller of type: Quartz.Core.SchedulerSignalerImpl
[12.51.10] [Info] Quartz Scheduler v.0.0.0.0 created.
[12.51.10] [Info] Quartz Scheduler created
[12.51.10] [Info] RAMJobStore initialized.
[12.51.10] [Info] Scheduler meta-data: Quartz Scheduler (v0.0.0.0) 'MyScheduler' with instanceId 'NON_CLUSTERED'
[12.51.10] [Info] Scheduler meta-data: Quartz Scheduler (v3.0.0.0) 'MyScheduler' with instanceId 'NON_CLUSTERED'
Scheduler class: 'Quartz.Core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Expand All @@ -168,7 +168,7 @@ Now we should get a lot more information when we start the application.
Using job-store 'Quartz.Simpl.RAMJobStore' - which does not support persistence. and is not clustered.
[12.51.10] [Info] Quartz scheduler 'MyScheduler' initialized
[12.51.10] [Info] Quartz scheduler version: 0.0.0.0
[12.51.10] [Info] Quartz scheduler version: 3.0.0.0
[12.51.10] [Info] Scheduler MyScheduler_$_NON_CLUSTERED started.
```

Expand Down
14 changes: 7 additions & 7 deletions src/Quartz/Core/QuartzScheduler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public QuartzScheduler(QuartzSchedulerResources resources, TimeSpan idleWaitTime

SchedulerSignaler = new SchedulerSignalerImpl(this, schedThread);

log.InfoFormat("Quartz Scheduler v.{0} created.", Version);
log.InfoFormat("Quartz Scheduler created");
}

public void Initialize()
Expand Down Expand Up @@ -1572,10 +1572,10 @@ protected virtual void NotifySchedulerThread(DateTimeOffset? candidateNewNextFir

if (listeners.Count == 0 && !internalTriggerListeners.GetEnumerator().MoveNext())
{
// default case that we don't have any
// default case that we don't have any
return null;
}

return listeners.Concat(internalTriggerListeners.Values);
}

Expand Down Expand Up @@ -1784,8 +1784,8 @@ async Task NotifyAwaited()
}

// optimized version to reduce state machine creations
private Task NotifyJobListeners(
Func<IJobListener, Task> notifyAction,
private Task NotifyJobListeners(
Func<IJobListener, Task> notifyAction,
IJobExecutionContext jec,
JobExecutionException? je)
{
Expand All @@ -1808,7 +1808,7 @@ async Task NotifyAwaited()
throw se;
}
}

return singleListener != null || listeners is null ? Task.CompletedTask : NotifyAwaited();

async Task NotifyAwaited()
Expand Down Expand Up @@ -2155,7 +2155,7 @@ static async Task NotifySingle(Task t, IJobListener jl)
}

protected virtual async Task NotifySchedulerListeners(
Func<ISchedulerListener, Task> notifier,
Func<ISchedulerListener, Task> notifier,
string action)
{
// notify all scheduler listeners
Expand Down

0 comments on commit d648a05

Please sign in to comment.