
if ('[' == types.get(i).charValue()) {
</BUG>
message.addArgument(readArray(rawInput, types, ++i));
<BUG>while (types.get(i).charValue() != ']') {
</BUG>
i++;
}
} else {
<BUG>message.addArgument(readArgument(rawInput, types.get(i)));
</BUG>
}

return bundle;
}
private OSCMessage convertMessage(final Input rawInput) {
OSCMessage message = new OSCMessage();
message.setAddress(readString(rawInput));
final CharSequence types = readTypes(rawInput);
for (int i = 0; i < types.length(); ++i) {
if ('[' == types.charAt(i)) {
message.addArgument(readArray(rawInput, types, ++i));
while (types.charAt(i) != ']') {
i++;
}
} else {
message.addArgument(readArgument(rawInput, types.charAt(i)));
