Skip to content

Commit 317087d

Browse files
Merge pull request #127 from ParsePlatform/richardross.typos.fix
Fix minor typos throughout the SDK.
2 parents a4fa591 + 7a10fb5 commit 317087d

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;

Parse/Public/ParseClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public static void Initialize(string applicationId, string dotnetKey) {
118118
/// way is to put a call to <c>ParseFramework.Initialize</c> in your
119119
/// Application startup.
120120
/// </summary>
121-
/// <param name="configuration">The configuration to initialze Parse with.
121+
/// <param name="configuration">The configuration to initialize Parse with.
122122
/// </param>
123123
public static void Initialize(Configuration configuration) {
124124
lock (mutex) {

Parse/Public/ParseExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public static Task<T> FetchAsync<T>(this T obj, CancellationToken cancellationTo
114114
/// If this ParseObject has not been fetched (i.e. <see cref="ParseObject.IsDataAvailable"/> returns
115115
/// false), fetches this object with the data from the server.
116116
/// </summary>
117-
/// <param name="obj">The ParseObjhect to fetch.</param>
117+
/// <param name="obj">The ParseObject to fetch.</param>
118118
public static Task<T> FetchIfNeededAsync<T>(this T obj) where T : ParseObject {
119119
return obj.FetchIfNeededAsyncInternal(CancellationToken.None).OnSuccess(t => (T)t.Result);
120120
}

Parse/Public/ParseInstallation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
namespace Parse {
1414

1515
/// <summary>
16-
/// Represents this app installed on this device. Use this class to track infomation you want
16+
/// Represents this app installed on this device. Use this class to track information you want
1717
/// to sample from (i.e. if you update a field on app launch, you can issue a query to see
1818
/// the number of devices which were active in the last N hours).
1919
/// </summary>

Parse/Public/Partial/ParsePush.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public IDictionary<string, object> Data {
134134
}
135135

136136
/// <summary>
137-
/// A conveninence method which sets Data to a dictionary with alert as its only field. Equivalent to
137+
/// A convenience method which sets Data to a dictionary with alert as its only field. Equivalent to
138138
///
139139
/// <code>
140140
/// Data = new Dictionary&lt;string, object&gt; {{"alert", alert}};

Parse/Public/Phone/ParseFacebookUtils.Phone.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public static async Task<ParseUser> LogInAsync(WebBrowser webView,
193193

194194
/// <summary>
195195
/// Links a <see cref="ParseUser" /> to a Facebook account, allowing you to use Facebook
196-
/// for authentication, and providing access to Facebook datta for the user.
196+
/// for authentication, and providing access to Facebook data for the user.
197197
///
198198
/// The user will be logged in through Facebook's OAuth web flow, so you must supply a
199199
/// <paramref name="webView"/> that will be navigated to Facebook's authentication pages.
@@ -234,7 +234,7 @@ public static Task<ParseUser> LogInAsync(WebBrowser webView, IEnumerable<string>
234234

235235
/// <summary>
236236
/// Links a <see cref="ParseUser" /> to a Facebook account, allowing you to use Facebook
237-
/// for authentication, and providing access to Facebook datta for the user.
237+
/// for authentication, and providing access to Facebook data for the user.
238238
///
239239
/// The user will be logged in through Facebook's OAuth web flow, so you must supply a
240240
/// <paramref name="webView"/> that will be navigated to Facebook's authentication pages.

Parse/Public/Unity/ParseInitializeBehaviour.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ private void Initialize() {
7272

7373
/// <summary>
7474
/// The callback that will be called from the Android Java land via <c>UnityPlayer.UnitySendMessage(string)</c>
75-
/// when the device receive a push notificaiton.
75+
/// when the device receive a push notification.
7676
/// </summary>
7777
/// <param name="pushPayloadString">the push payload as string</param>
7878
internal void OnPushNotificationReceived(string pushPayloadString) {

Parse/Public/WinRT/ParsePush.WinRT.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public static IDictionary<string, object> PushJson(PushNotificationReceivedEvent
7878

7979
/// <summary>
8080
/// Because the Windows API doesn't allow us to create a PushNotificationReceivedEventArgs, nor is there
81-
/// an interface for the class, we cannot test the PushJson(PNREA) method at all. We will isntead try to
81+
/// an interface for the class, we cannot test the PushJson(PNREA) method at all. We will instead try to
8282
/// make it as small as possible and test a method that uses the first class which does allow instantiation.
8383
/// </summary>
8484
/// <param name="toast"></param>

0 commit comments

Comments
 (0)