Skip to content

Commit

Permalink
-Update URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNK committed Jan 23, 2015
1 parent 15f3776 commit bce1563
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
8 changes: 3 additions & 5 deletions Src/Newtonsoft.Json.Schema.Tests/TestFixtureBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,9 @@ public abstract class TestFixtureBase
[SetUp]
protected void TestSetup()
{
//#if !NETFX_CORE
// CultureInfo turkey = CultureInfo.CreateSpecificCulture("tr");
// Thread.CurrentThread.CurrentCulture = turkey;
// Thread.CurrentThread.CurrentUICulture = turkey;
//#endif
//CultureInfo turkey = CultureInfo.CreateSpecificCulture("tr");
//Thread.CurrentThread.CurrentCulture = turkey;
//Thread.CurrentThread.CurrentUICulture = turkey;

LicenseHelpers.ResetCounts(null);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static void IncrementAndCheckValidationCount()
Interlocked.Increment(ref _validationCount);

if (_validationCount > maxOperationCount)
throw new JsonException("The free-quota limit of {0} schema validations per hour has been reached. Please visit http://www.newtonsoft.com to upgrade to a commercial license.".FormatWith(CultureInfo.InvariantCulture, maxOperationCount));
throw new JsonException("The free-quota limit of {0} schema validations per hour has been reached. Please visit http://www.newtonsoft.com/jsonschema to upgrade to a commercial license.".FormatWith(CultureInfo.InvariantCulture, maxOperationCount));
}

public static void IncrementAndCheckGenerationCount()
Expand All @@ -58,7 +58,7 @@ public static void IncrementAndCheckGenerationCount()
Interlocked.Increment(ref _generationCount);

if (_generationCount > maxOperationCount)
throw new JsonException("The free-quota limit of {0} schema generations per hour has been reached. Please visit http://www.newtonsoft.com to upgrade to a commercial license.".FormatWith(CultureInfo.InvariantCulture, maxOperationCount));
throw new JsonException("The free-quota limit of {0} schema generations per hour has been reached. Please visit http://www.newtonsoft.com/jsonschema to upgrade to a commercial license.".FormatWith(CultureInfo.InvariantCulture, maxOperationCount));
}

private static void EnsureResetTimer()
Expand Down
4 changes: 2 additions & 2 deletions Src/Newtonsoft.Json.Schema/License.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
namespace Newtonsoft.Json.Schema
{
/// <summary>
/// Manages the license used with Json.NET Schema. A license can be purchased at <see href="http://www.newtonsoft.com">http://www.newtonsoft.com</see>.
/// Manages the license used with Json.NET Schema. A license can be purchased at <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see>.
/// </summary>
public static class License
{
/// <summary>
/// Register the specified license with Json.NET Schema. A license can be purchased at <see href="http://www.newtonsoft.com">http://www.newtonsoft.com</see>.
/// Register the specified license with Json.NET Schema. A license can be purchased at <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see>.
/// </summary>
/// <param name="license">The license text to register.</param>
public static void RegisterLicense(string license)
Expand Down

0 comments on commit bce1563

Please sign in to comment.