Messaging: Language cleanup
No unnecessary boxing, enhanced for loops, redundant checks and throws, imports (removal, reordering), possible void returns Change-Id: I7a8e1b2007e3b0906e01b41785c518d02c2f3fab
This commit is contained in:
@@ -522,8 +522,8 @@ public class PduComposer {
|
||||
}
|
||||
|
||||
EncodedStringValue temp;
|
||||
for (int i = 0; i < addr.length; i++) {
|
||||
temp = appendAddressType(addr[i]);
|
||||
for (EncodedStringValue encodedStringValue : addr) {
|
||||
temp = appendAddressType(encodedStringValue);
|
||||
if (temp == null) {
|
||||
return PDU_COMPOSE_CONTENT_ERROR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user