Skip to content

Commit

Permalink
removing string.Format without parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanFeldman committed Aug 4, 2015
1 parent 3d45f02 commit b27e0b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public void Run(Configure config)
statusText.Append("Deactivation reason: ");
if (diagnosticData.PrerequisiteStatus != null && !diagnosticData.PrerequisiteStatus.IsSatisfied)
{
statusText.AppendLine(string.Format("Did not fulfill its Prerequisites:"));
statusText.AppendLine("Did not fulfill its Prerequisites:");

foreach (var reason in diagnosticData.PrerequisiteStatus.Reasons)
{
Expand Down
2 changes: 1 addition & 1 deletion src/NServiceBus.Core/Licensing/LicenseExpiredForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void browseButton_Click(object sender, EventArgs e)

if (LicenseExpirationChecker.HasLicenseExpired(license))
{
var message = string.Format("The license you provided has expired, please select another file.");
var message = "The license you provided has expired, please select another file.";
Logger.Warn(message);
MessageBox.Show(this, message, "License expired", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
return;
Expand Down

0 comments on commit b27e0b7

Please sign in to comment.