Skip to content

Commit

Permalink
[ELY-2627] Changed array copy logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Learner045 authored and darranl committed Mar 14, 2024
1 parent f860fb2 commit 3dd4b0d
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 3dd4b0d

Please sign in to comment.