cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [13/18] android commit: Trivial spelling fix in comments when reading CordovaResourceApi
Date Mon, 09 Jun 2014 02:55:12 GMT
Trivial spelling fix in comments when reading CordovaResourceApi


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/eb623a84
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/eb623a84
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/eb623a84

Branch: refs/heads/4.0.x
Commit: eb623a84d517327e62ed21e8a938af6ed279ac85
Parents: 0729027
Author: Joe Bowser <bowserj@apache.org>
Authored: Wed Jun 4 11:13:37 2014 -0700
Committer: Joe Bowser <bowserj@apache.org>
Committed: Wed Jun 4 11:13:37 2014 -0700

----------------------------------------------------------------------
 framework/src/org/apache/cordova/CordovaResourceApi.java | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/eb623a84/framework/src/org/apache/cordova/CordovaResourceApi.java
----------------------------------------------------------------------
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 @@ public class CordovaResourceApi {
         return threadCheckingEnabled;
     }
     
+    
     public static int getUriType(Uri uri) {
         assertNonRelative(uri);
         String scheme = uri.getScheme();
@@ -199,6 +200,8 @@ public class CordovaResourceApi {
         return null;
     }
     
+    
+    //This already exists
     private String getMimeTypeFromPath(String path) {
         String extension = path;
         int lastDot = extension.lastIndexOf('.');
@@ -217,7 +220,7 @@ public class CordovaResourceApi {
     }
     
     /**
-     * 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 @@ public class CordovaResourceApi {
     }
 
     /**
-     * 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.


Mime
View raw message