diff options
author | Ferenc Horváth <hferenc@inf.u-szeged.hu> | 2015-10-07 11:10:28 +0200 |
---|---|---|
committer | Ferenc Horváth <hferenc@inf.u-szeged.hu> | 2015-11-27 14:09:35 +0100 |
commit | 635bc7fa8f9a442b39af4955e98fcd2e2acf1e0a (patch) | |
tree | c686ab79f5b17f0a351dc951018b0d5a329fbed6 /test-requirements.txt | |
parent | 1a28ccd01dfdd94dc444766d7146b78f9195bb28 (diff) | |
download | swift-635bc7fa8f9a442b39af4955e98fcd2e2acf1e0a.tar.gz |
Replace string slicing with proper string methods
Updated string prefix and suffix checker slicing to startswith()
and endswith() methods.
Using startswith() and endswith() improves readability, error-proneness
and enhances maintainability.
Change-Id: I1d5fbf116a61763346c6f92fd8023dbbe9bb37cf
Diffstat (limited to 'test-requirements.txt')
0 files changed, 0 insertions, 0 deletions