diff options
author | Nasser Grainawi <quic_nasserg@quicinc.com> | 2023-11-14 00:12:24 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2023-11-14 09:13:19 +0100 |
commit | 4aaf8cad90ad94d96cf93f6163562b496a3bef7a (patch) | |
tree | c2d694686f801e1dbad5bd82224152b121cb86b3 /org.eclipse.jgit.gpg.bc.test | |
parent | 4f18c5095049116350828e9bb499964ea887ac02 (diff) | |
download | jgit-4aaf8cad90ad94d96cf93f6163562b496a3bef7a.tar.gz jgit-4aaf8cad90ad94d96cf93f6163562b496a3bef7a.zip |
Simplify StringUtils#commonPrefix
By first checking for null-ness and then for the number of strings to
compare we can get rid of a redundant null check.
Change-Id: I0d9a088352c6c1ffea12bc2cded2c63e5293a8a7
Diffstat (limited to 'org.eclipse.jgit.gpg.bc.test')
0 files changed, 0 insertions, 0 deletions