Skip to content

Commit 7a10fb5

Browse files
Fix minor typos throughout the SDK.
Mostly super minor mistakes in documentation.
1 parent a4fa591 commit 7a10fb5

File tree

17 files changed

+23
-23
lines changed

17 files changed

+23
-23
lines changed

Parse/Internal/Config/Controller/IParseConfigController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interface IParseConfigController {
1313
IParseCurrentConfigController CurrentConfigController { get; }
1414

1515
/// <summary>
16-
/// Fetchs the config from the server asynchrounously.
16+
/// Fetches the config from the server asynchronously.
1717
/// </summary>
1818
/// <returns>The config async.</returns>
1919
/// <param name="sessionToken">Session token.</param>

Parse/Internal/HttpClient/NetFx45/HttpClient.NetFx45.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public Task<Tuple<HttpStatusCode, string>> ExecuteAsync(HttpRequest httpRequest,
3636
}
3737
}
3838
}
39-
// Avoid aggresive caching on Windows Phone 8.1.
39+
// Avoid aggressive caching on Windows Phone 8.1.
4040
request.Headers["Cache-Control"] = "no-cache";
4141

4242
Task uploadTask = null;

Parse/Internal/HttpClient/Phone/HttpClient.Phone.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public Task<Tuple<HttpStatusCode, string>> ExecuteAsync(HttpRequest httpRequest,
3636
}
3737
}
3838
}
39-
// Avoid aggresive caching on Windows Phone 8.1.
39+
// Avoid aggressive caching on Windows Phone 8.1.
4040
request.Headers[HttpRequestHeader.CacheControl] = "no-cache";
4141
request.Headers[HttpRequestHeader.IfModifiedSince] = DateTime.UtcNow.ToString();
4242

Parse/Internal/HttpClient/WinRT/HttpClient.WinRT.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public Task<Tuple<HttpStatusCode, string>> ExecuteAsync(HttpRequest httpRequest,
3636
}
3737
}
3838
}
39-
// Avoid aggresive caching on Windows Phone 8.1.
39+
// Avoid aggressive caching on Windows Phone 8.1.
4040
request.Headers["Cache-Control"] = "no-cache";
4141

4242
Task uploadTask = null;

Parse/Internal/HttpClient/iOS/HttpClient.iOS.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public Task<Tuple<HttpStatusCode, string>> ExecuteAsync(HttpRequest httpRequest,
3636
}
3737
}
3838
}
39-
// Avoid aggresive caching on Windows Phone 8.1.
39+
// Avoid aggressive caching on Windows Phone 8.1.
4040
request.Headers.Add("Cache-Control", "no-cache");
4141

4242
Task uploadTask = null;

Parse/Internal/Installation/Controller/IInstallationIdController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ interface IInstallationIdController {
1515
/// <summary>
1616
/// Gets current <code>installationId</code> from local storage. Generates a none exists.
1717
/// </summary>
18-
/// <returns>Current <code>installationid</code>.</returns>
18+
/// <returns>Current <code>installationId</code>.</returns>
1919
Guid? Get();
2020

2121
/// <summary>

Parse/Internal/PlatformHooks/Phone/PlatformHooks.Phone.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ partial class PlatformHooks : IPlatformHooks {
1919
/// channel for each contact and the UI needs to pop up on the right tile). The expansion job
2020
/// generically has one _Installation field it passes to device-specific code, so we store a map
2121
/// of tag -> channel URI. Right now, there is only one valid tag and it is automatic.
22-
/// Unsed variable warnings are suppressed becaue this const is used in WinRT and WinPhone but not NetFx.
22+
/// Unused variable warnings are suppressed because this const is used in WinRT and WinPhone but not NetFx.
2323
/// </summary>
2424
static readonly string toastChannelTag = "_Toast";
2525

@@ -33,7 +33,7 @@ partial class PlatformHooks : IPlatformHooks {
3333
// Note: We could bind to the ChannelUriUpdated event & automatically save instead of checking
3434
// whether the channel has changed on demand. This is more seamless but adds API requests for a
3535
// feature that may not be in use. Maybe we should build an auto-update feature in the future?
36-
// Or mabye Push.subscribe calls will always be a save & that should be good enough for us.
36+
// Or maybe Push.subscribe calls will always be a save & that should be good enough for us.
3737
toastChannel.Open();
3838
}
3939

Parse/Internal/PlatformHooks/WinRT/PlatformHooks.WinRT.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ partial class PlatformHooks : IPlatformHooks {
2020
/// channel for each contact and the UI needs to pop up on the right tile). The expansion job
2121
/// generically has one _Installation field it passes to device-specific code, so we store a map
2222
/// of tag -> channel URI. Right now, there is only one valid tag and it is automatic.
23-
/// Unsed variable warnings are suppressed because this const is used in WinRT and WinPhone but not NetFx.
23+
/// Unused variable warnings are suppressed because this const is used in WinRT and WinPhone but not NetFx.
2424
/// </summary>
2525
private static readonly string defaultChannelTag = "_Default";
2626

Parse/Internal/PlatformHooks/iOS/PlatformHooks.iOS.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,8 @@ internal static MemberExpression Update(this MemberExpression expr, Expression o
534534
return Expression.MakeMemberAccess(obj, expr.Member);
535535
}
536536

537-
internal static MemberAssignment Update(this MemberAssignment assgn, Expression expr) {
538-
return Expression.Bind(assgn.Member, expr);
537+
internal static MemberAssignment Update(this MemberAssignment assign, Expression expr) {
538+
return Expression.Bind(assign.Member, expr);
539539
}
540540

541541
internal static InvocationExpression Update(this InvocationExpression expr,
@@ -695,8 +695,8 @@ protected virtual Expression VisitMember(MemberExpression expr) {
695695
return expr.Update(Visit(expr.Expression));
696696
}
697697

698-
protected virtual MemberAssignment VisitMemberAssignment(MemberAssignment assgn) {
699-
return assgn.Update(Visit(assgn.Expression));
698+
protected virtual MemberAssignment VisitMemberAssignment(MemberAssignment assign) {
699+
return assign.Update(Visit(assign.Expression));
700700
}
701701

702702
protected virtual MemberBinding VisitMemberBinding(MemberBinding binding) {

Parse/Internal/Utilities/Json.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ private bool Accept(Regex matcher, out Match match) {
238238
}
239239

240240
/// <summary>
241-
/// Find the first occurences of a character, consuming part of the string.
241+
/// Find the first occurrences of a character, consuming part of the string.
242242
/// </summary>
243243
private bool Accept(char condition) {
244244
int step = 0;
@@ -277,7 +277,7 @@ private bool Accept(char condition) {
277277
}
278278

279279
/// <summary>
280-
/// Find the first occurences of a string, consuming part of the string.
280+
/// Find the first occurrences of a string, consuming part of the string.
281281
/// </summary>
282282
private bool Accept(char[] condition) {
283283
int step = 0;

0 commit comments

Comments
 (0)