Skip to content

Commit

Permalink
split should be enough
Browse files Browse the repository at this point in the history
  • Loading branch information
rlavolee authored and steve-todorov committed Jul 25, 2023
1 parent f132151 commit 64669c4
Showing 1 changed file with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,16 +173,7 @@ public String getEndpoint()

public String[] key2Parts(String keyParts)
{
String[] parts = keyParts.split(PATH_SEPARATOR);
String[] split = new String[parts.length];

int i = 0;
for (String part : parts)
{
split[i++] = part;
}

return split;
return keyParts.split(PATH_SEPARATOR);
}

public int getCache()
Expand Down

0 comments on commit 64669c4

Please sign in to comment.