- for (int i = 0; i < cmd.length; i++) {\r
- String presetPrm = cmd[i];\r
- if (presetPrm.trim().toLowerCase()\r
- .startsWith(presetkey + pseparator)) {\r
- preset = presetPrm.substring(presetPrm.indexOf(pseparator) + 1);\r
+ for (String c : cmd) {\r
+ if (c.trim().toLowerCase().startsWith(presetkey + pseparator)) {\r
+ preset = c.substring(c.indexOf(pseparator) + 1);\r