@@ -49,7 +49,7 @@ private static String resourceName() {
49
49
50
50
/**
51
51
* Tell the library to assume the native library is already loaded.
52
- * This is excape hatch for environments that have special requirements for how
52
+ * This is escape hatch for environments that have special requirements for how
53
53
* the native part is loaded. This allows them to load the so/dll manually and tell
54
54
* zstd-jni to not attempt loading it again.
55
55
*/
@@ -73,7 +73,7 @@ public static synchronized void load(final File tempFolder) {
73
73
74
74
String overridePath = System .getProperty (nativePathOverride );
75
75
if (overridePath != null ) {
76
- // Do not fall- back to auto-discovery - consumers know better
76
+ // Do not fall back to auto-discovery - consumers know better
77
77
System .load (overridePath );
78
78
loaded = true ;
79
79
return ;
@@ -91,8 +91,8 @@ public static synchronized void load(final File tempFolder) {
91
91
92
92
InputStream is = Native .class .getResourceAsStream (resourceName );
93
93
if (is == null ) {
94
- // fall-back to loading the zstd-jni from the system library path.
95
- // It also cover loading on Android.
94
+ // fallback to loading the zstd-jni from the system library path.
95
+ // It also covers loading on Android.
96
96
try {
97
97
System .loadLibrary (libnameShort );
98
98
loaded = true ;
@@ -145,7 +145,7 @@ public static synchronized void load(final File tempFolder) {
145
145
}
146
146
loaded = true ;
147
147
} catch (IOException e ) {
148
- // IO errors in extacting and writing the shared object in the temp dir
148
+ // IO errors in extracting and writing the shared object in the temp dir
149
149
ExceptionInInitializerError err = new ExceptionInInitializerError (
150
150
"Cannot unpack " + libname + ": " + e .getMessage ());
151
151
err .setStackTrace (e .getStackTrace ());
0 commit comments