Skip to content

Commit

Permalink
Merge pull request #2110 from darranl/ELY-2627
Browse files Browse the repository at this point in the history
[ELY-2627] Changed array copy logic
  • Loading branch information
fjuma committed Mar 14, 2024
2 parents f860fb2 + 3dd4b0d commit 479fd8c
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -168,9 +168,7 @@ public static String[] getAttributeValues(X500Principal principal, String oid, b
}
} else {
// The attribute values will be in reverse order
for (int i = 0; i < len; i++) {
result[i] = strings[i];
}
System.arraycopy(strings, 0, result, 0, len);
}
return result;
}
Expand Down

0 comments on commit 479fd8c

Please sign in to comment.