Update General.java

Updated to final vars, following pattern in isConnectionWifi