Closed asksven closed 11 years ago
return ((whiteList.indexOf(ssid) != -1) && (!ssid.equals("")));
Return true if the current SSID is contained in one of the whitelisted ones. E.g.: current = abc whitelist = abcd, abcde, abcef
Should be: List whitelistedList = Arrays.asList(whiteList.split(",")); return ( (whitelistedList.contains(ssid)) && (!ssid.equals("")) );
return ((whiteList.indexOf(ssid) != -1) && (!ssid.equals("")));
Return true if the current SSID is contained in one of the whitelisted ones. E.g.: current = abc whitelist = abcd, abcde, abcef
Should be: List whitelistedList = Arrays.asList(whiteList.split(","));
return ( (whitelistedList.contains(ssid)) && (!ssid.equals("")) );