diff options
| author | Brenton Bostick <[email protected]> | 2023-01-11 13:42:30 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-01-11 19:42:30 +0100 |
| commit | d31f238be02899858f1bdac0efbccfa4da5bac1d (patch) | |
| tree | 524a1015f759ce0d13ddb59e2d1847f77d612ef0 /java | |
| parent | 27c26a77a25c201221eff694083651a7fe8ff56b (diff) | |
fix typos (#1843)
Diffstat (limited to 'java')
| -rw-r--r-- | java/jni/ZT_jniutils.cpp | 3 | ||||
| -rw-r--r-- | java/src/com/zerotier/sdk/ResultCode.java | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/java/jni/ZT_jniutils.cpp b/java/jni/ZT_jniutils.cpp index bfb969ab..c479f87e 100644 --- a/java/jni/ZT_jniutils.cpp +++ b/java/jni/ZT_jniutils.cpp @@ -43,7 +43,7 @@ jobject createResultObject(JNIEnv *env, ZT_ResultCode code) resultClass = lookup.findClass("com/zerotier/sdk/ResultCode"); if(resultClass == NULL) { - LOGE("Couldnt find ResultCode class"); + LOGE("Couldn't find ResultCode class"); return NULL; // exception thrown } @@ -1032,4 +1032,3 @@ jobject newVirtualNetworkDNS(JNIEnv *env, const ZT_VirtualNetworkDNS &dns) #ifdef __cplusplus } #endif - diff --git a/java/src/com/zerotier/sdk/ResultCode.java b/java/src/com/zerotier/sdk/ResultCode.java index 66f57561..09e7d3b1 100644 --- a/java/src/com/zerotier/sdk/ResultCode.java +++ b/java/src/com/zerotier/sdk/ResultCode.java @@ -41,7 +41,7 @@ public enum ResultCode { */ RESULT_OK(0), - // Fatal errors (> 0, < 1000) + // Fatal errors (>=100, <1000) /** * Ran out of memory */ |
