Skip to content

Commit

Permalink
Merge branch 'serializationFixes' of https://github.com/jvilalta/quar…
Browse files Browse the repository at this point in the history
…tznet into jvilalta-serializationFixes
  • Loading branch information
lahma committed Mar 27, 2011
2 parents 429fa6a + 9255b90 commit ef70264
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Quartz/Impl/JobDetailImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class JobDetailImpl : IJobDetail
private bool durability;
private bool shouldRecover;

[NonSerialized] private JobKey key;
private JobKey key;

/// <summary>
/// Create a <see cref="IJobDetail" /> with no specified name or group, and
Expand Down
1 change: 0 additions & 1 deletion src/Quartz/Impl/Triggers/AbstractTrigger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ public abstract class AbstractTrigger : IOperableTrigger
private DateTimeOffset? endTimeUtc;
private DateTimeOffset startTimeUtc;
private int priority = TriggerConstants.DefaultPriority;
[NonSerialized]
private TriggerKey key;

/// <summary>
Expand Down
2 changes: 2 additions & 0 deletions src/Quartz/TriggerKey.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System;
using Quartz.Util;

namespace Quartz
Expand Down Expand Up @@ -37,6 +38,7 @@ namespace Quartz
/// </remarks>
/// <seealso cref="ITrigger" />
/// <seealso cref="Key{T}.DefaultGroup" />
[Serializable]
public sealed class TriggerKey : Key<TriggerKey>
{
public TriggerKey(string name) : base(name, null)
Expand Down

0 comments on commit ef70264

Please sign in to comment.