Trivial spelling fix in comments when reading CordovaResourceApi
diff --git a/framework/src/org/apache/cordova/CordovaResourceApi.java b/framework/src/org/apache/cordova/CordovaResourceApi.java
index f1770fd..d27eeb1 100644
--- a/framework/src/org/apache/cordova/CordovaResourceApi.java
+++ b/framework/src/org/apache/cordova/CordovaResourceApi.java
@@ -106,6 +106,7 @@
return threadCheckingEnabled;
}
+
public static int getUriType(Uri uri) {
assertNonRelative(uri);
String scheme = uri.getScheme();
@@ -199,6 +200,8 @@
return null;
}
+
+ //This already exists
private String getMimeTypeFromPath(String path) {
String extension = path;
int lastDot = extension.lastIndexOf('.');
@@ -217,7 +220,7 @@
}
/**
- * Opens a stream to the givne URI, also providing the MIME type & length.
+ * Opens a stream to the given URI, also providing the MIME type & length.
* @return Never returns null.
* @throws Throws an InvalidArgumentException for relative URIs. Relative URIs should be
* resolved before being passed into this function.
@@ -229,7 +232,7 @@
}
/**
- * Opens a stream to the givne URI, also providing the MIME type & length.
+ * Opens a stream to the given URI, also providing the MIME type & length.
* @return Never returns null.
* @throws Throws an InvalidArgumentException for relative URIs. Relative URIs should be
* resolved before being passed into this function.