Import "Fix some typos (it's vs its)" (#175)

Summary:
Original author: noahsark769

Closes https://github.com/facebook/Sonar/pull/175

Reviewed By: jknoxville

Differential Revision: D8989724

fbshipit-source-id: 8e1c09196b0c6c0d0fb0446a2a4a595d09f21652
This commit is contained in:
Pascal Hartig
2018-07-25 07:13:20 -07:00
committed by Facebook Github Bot
parent 16093222c0
commit 6a7a580db3
13 changed files with 16 additions and 16 deletions

View File

@@ -83,7 +83,7 @@ bool isSameObject(alias_ref<JObject> lhs, alias_ref<JObject> rhs) noexcept;
//
// While users of a JavaClass-type can lookup methods and fields through the
// underlying JClass, those calls can only be checked at runtime. It is recommended
// that the JavaClass-type instead explicitly expose it's methods as in the example
// that the JavaClass-type instead explicitly expose its methods as in the example
// above.
namespace detail {

View File

@@ -33,7 +33,7 @@
namespace facebook {
namespace jni {
// This will get the reflected Java Method from the method_id, get it's invoke
// This will get the reflected Java Method from the method_id, get its invoke
// method, and call the method via that. This shouldn't ever be needed, but
// Android 6.0 crashes when calling a method on a java.lang.Proxy via jni.
template <typename... Args>

View File

@@ -104,7 +104,7 @@ local_ref<JString> make_jstring(const char* utf8) {
// The only difference between utf8 and modifiedUTF8 is in encoding 4-byte UTF8 chars
// and '\0' that is encoded on 2 bytes.
//
// Since modifiedUTF8-encoded string can be no shorter than it's UTF8 conterpart we
// Since modifiedUTF8-encoded string can be no shorter than its UTF8 conterpart we
// know that if those two strings are of the same length we don't need to do any
// conversion -> no 4-byte chars nor '\0'.
result = env->NewStringUTF(utf8);