Skip to content

Commit

Permalink
Merge pull request #2217 from akarshijain/ely-2853-direct-return-refa…
Browse files Browse the repository at this point in the history
…ctor

[ELY-2853] Return an expression directly instead of assigning it to a temporary variable
  • Loading branch information
fjuma authored Oct 4, 2024
2 parents fa27f87 + 10219b2 commit ae1ad1f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@ private static X509Certificate populateCertificateChain() throws Exception {

builder.setSignatureAlgorithmName("SHA256withRSA");
builder.setPublicKey(keyPair.getPublic());
final X509Certificate orderedCertificate = builder.build();
return orderedCertificate;
return builder.build();
}

private Path getRootPath(String path, boolean deleteIfExists) throws Exception {
Expand Down

0 comments on commit ae1ad1f

Please sign in to comment.