Skip to content

Commit

Permalink
'content[i + 1].length() > 0' replaced with '!content[i + 1].isEmpty(…
Browse files Browse the repository at this point in the history
…)' in RegistryAuthConfiguration (3308)
  • Loading branch information
AhmedFaizanDev authored Aug 7, 2024
1 parent 51987ea commit 6ca5629
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public Map toMap() {
"email", email
};
for (int i = 0; i < content.length; i += 2) {
if (content[i + 1] != null && content[i + 1].length() > 0) {
if (content[i + 1] != null && !content[i + 1].isEmpty()) {
authMap.put(content[i], content[i+1]);
}
}
Expand Down

0 comments on commit 6ca5629

Please sign in to comment.