cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From macdo...@apache.org
Subject [1/2] cordova-plugin-network-information git commit: Update NetworkManager.java
Date Thu, 07 Jul 2016 03:42:36 GMT
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 <nickmit87@gmail.com>
Authored: Tue Jul 5 11:07:31 2016 +0100
Committer: GitHub <noreply@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


Mime
View raw message