You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ma...@apache.org on 2016/07/07 03:42:36 UTC

[1/2] cordova-plugin-network-information git commit: Update NetworkManager.java

Repository: cordova-plugin-network-information
Updated Branches:
  refs/heads/master 257e8ada4 -> 04a1f713c


Update NetworkManager.java

Broken if.

Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/commit/eaea5fd2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/tree/eaea5fd2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/diff/eaea5fd2

Branch: refs/heads/master
Commit: eaea5fd2554f4d6c7eebe2139efb36e74c0a1c7e
Parents: 257e8ad
Author: NickyYo <ni...@gmail.com>
Authored: Tue Jul 5 11:07:31 2016 +0100
Committer: GitHub <no...@github.com>
Committed: Tue Jul 5 11:07:31 2016 +0100

----------------------------------------------------------------------
 src/android/NetworkManager.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/eaea5fd2/src/android/NetworkManager.java
----------------------------------------------------------------------
diff --git a/src/android/NetworkManager.java b/src/android/NetworkManager.java
index 2327454..7502f3b 100755
--- a/src/android/NetworkManager.java
+++ b/src/android/NetworkManager.java
@@ -247,7 +247,7 @@ public class NetworkManager extends CordovaPlugin {
             if (type.equals(WIFI)) {
                 return TYPE_WIFI;
             }
-            else if (type.toLowerCase().equals(TYPE_ETHERNET) || type.toLowerCase().startsWith(TYPE_ETHERNET_SHORT) { 
+            else if (type.toLowerCase().equals(TYPE_ETHERNET) || type.toLowerCase().startsWith(TYPE_ETHERNET_SHORT)) { 
                 return TYPE_ETHERNET;
             }
             else if (type.equals(MOBILE) || type.equals(CELLULAR)) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[2/2] cordova-plugin-network-information git commit: Merge branch 'master' of https://github.com/NickyYo/cordova-plugin-network-information

Posted by ma...@apache.org.
Merge branch 'master' of https://github.com/NickyYo/cordova-plugin-network-information

This closes #45


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/commit/04a1f713
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/tree/04a1f713
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/diff/04a1f713

Branch: refs/heads/master
Commit: 04a1f713caa4eeeeb3dd0cc3f7cba0ed498e54d0
Parents: eaea5fd
Author: Simon MacDonald <si...@gmail.com>
Authored: Wed Jul 6 23:41:41 2016 -0400
Committer: Simon MacDonald <si...@gmail.com>
Committed: Wed Jul 6 23:41:48 2016 -0400

----------------------------------------------------------------------
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/04a1f713/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 89b095c..394058c 100644
--- a/README.md
+++ b/README.md
@@ -337,5 +337,5 @@ function onOffline() {
     console.log("lost connection");
 }
 ```
-
+ 
 [Apache Cordova issue tracker]: https://issues.apache.org/jira/issues/?jql=project%20%3D%20CB%20AND%20status%20in%20%28Open%2C%20%22In%20Progress%22%2C%20Reopened%29%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20%3D%20%22Plugin%20Network%20Information%22%20ORDER%20BY%20priority%20DESC%2C%20summary%20ASC%2C%20updatedDate%20DESC


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org