squid:S00117 - Local variable and method parameter names should comply with a naming convention.

This commit is contained in:
George Kankava
2016-02-01 18:30:56 +04:00
parent 831203e617
commit 86307a13be
6 changed files with 30 additions and 30 deletions

View File

@@ -19,13 +19,13 @@ public class HandshakeData {
/*package*/ HandshakeData(JSONObject data) throws JSONException {
JSONArray upgrades = data.getJSONArray("upgrades");
int length = upgrades.length();
String[] _upgrades = new String[length];
String[] tempUpgrades = new String[length];
for (int i = 0; i < length; i ++) {
_upgrades[i] = upgrades.getString(i);
tempUpgrades[i] = upgrades.getString(i);
}
this.sid = data.getString("sid");
this.upgrades = _upgrades;
this.upgrades = tempUpgrades;
this.pingInterval = data.getLong("pingInterval");
this.pingTimeout = data.getLong("pingTimeout");
}