Skip to content

Commit

Permalink
Spelling 2: Electric Boogaloo (dotnet#2091)
Browse files Browse the repository at this point in the history
* Typo: implemented

* Typo: intended

* Typo: publicly

* Typo: each other

* Typo: optimization

* Typo: parsable
  • Loading branch information
nschonni authored and rainersigwald committed May 11, 2017
1 parent 6cd97f3 commit d8b4e14
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Samples/TaskUsageLogger/TaskUsageLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace TaskUsageLogger
/// conditions, they are in general correct.
/// - Does not keep track of override tasks, so any overridden task will likewise also be incorrectly
/// reported.
/// - Because MSBuild's property expansion functionality is not publically exposed, this contains
/// - Because MSBuild's property expansion functionality is not publicly exposed, this contains
/// a very hacky simplified version sufficient to cover most patterns actually seen in UsingTask
/// definitions, but is not guaranteed correct in all cases.
/// - Keeps everything in memory, so would probably run into issues if run against very large
Expand Down
2 changes: 1 addition & 1 deletion src/Build.OM.UnitTests/Definition/Project_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void Dispose()
";

/// <summary>
/// Since when the project file is saved it may be intented we want to make sure the indent characters do not affect the evaluation against empty.
/// Since when the project file is saved it may be intended we want to make sure the indent characters do not affect the evaluation against empty.
/// We test here newline, tab, and carriage return.
/// </summary>
[Fact]
Expand Down
2 changes: 1 addition & 1 deletion src/Build.UnitTests/BackEnd/LoggingService_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ internal BaseFLThrowException(bool throwOnShutdown, bool throwOnInitialize, Exce
#region IForwardingLogger Members

/// <summary>
/// Not used, implmented due to interface
/// Not used, implemented due to interface
/// </summary>
/// <value>Notused</value>
public IEventRedirector BuildEventRedirector
Expand Down
2 changes: 1 addition & 1 deletion src/Build.UnitTests/OpportunisticIntern_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public void KnownInternableTinyStrings()
}

/// <summary>
/// Test a set of strings that are similar to eachother
/// Test a set of strings that are similar to each other
/// </summary>
[Fact]
public void InternableDifferingOnlyByNthCharacter()
Expand Down
16 changes: 8 additions & 8 deletions src/Shared/StringBuilderCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,28 @@
**
**
** Purpose: provide a cached reusable instance of StringBuilder
** per thread it's an optimisation that reduces the
** per thread it's an optimization that reduces the
** number of instances constructed and collected.
**
** Acquire - is used to get a string builder to use of a
** particular size. It can be called any number of
** Acquire - is used to get a string builder to use of a
** particular size. It can be called any number of
** times, if a StringBuilder is in the cache then
** it will be returned and the cache emptied.
** subsequent calls will return a new StringBuilder.
**
** A StringBuilder instance is cached in
** A StringBuilder instance is cached in
** Thread Local Storage and so there is one per thread
**
** Release - Place the specified builder in the cache if it is
** Release - Place the specified builder in the cache if it is
** not too big.
** The StringBuilder should not be used after it has
** The StringBuilder should not be used after it has
** been released.
** Unbalanced Releases are perfectly acceptable. It
** will merely cause the runtime to create a new
** will merely cause the runtime to create a new
** StringBuilder next time Acquire is called.
**
** GetStringAndRelease
** - ToString() the StringBuilder, Release it to the
** - ToString() the StringBuilder, Release it to the
** cache and return the resulting string
**
===========================================================*/
Expand Down
2 changes: 1 addition & 1 deletion src/Tasks.UnitTests/CreateProperty_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void CreateBlankProperty()

/// <summary>
/// Make sure that I can use the CreateProperty task to create a property
/// that has a parseable semicolon in it.
/// that has a parsable semicolon in it.
/// </summary>
[Fact]
public void CreatePropertyWithSemicolon()
Expand Down

0 comments on commit d8b4e14

Please sign in to comment.