diff options
author | Duco van Amstel <duco.vanamstel@gmail.com> | 2018-10-13 00:02:14 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-10-13 01:02:14 +0200 |
commit | 498377a230b8712792a47a61ad63ab746f7379d1 (patch) | |
tree | de2cc5756dd7dd64a36c41d413eceb5e6d4691b3 /vendor/gopkg.in/yaml.v2/LICENSE.libyaml | |
parent | 3dd4ec57ff0d9503d10c15944c4704cc6620c552 (diff) | |
download | matterbridge-msglm-498377a230b8712792a47a61ad63ab746f7379d1.tar.gz matterbridge-msglm-498377a230b8712792a47a61ad63ab746f7379d1.tar.bz2 matterbridge-msglm-498377a230b8712792a47a61ad63ab746f7379d1.zip |
Clean up code and strengthening (slack) (#519)
Changes include:
- Refactor of strings into package-wide constants.
- Predeclaration of regexps to be instantiated at package load time.
- Checking of unchecked errors.
- Structural changes:
- Adding verifications to type-casting code.
- Remove unnecessary 'len(X) > 0' checks before iterating over X.
- Remove unnecessary 'else' clause after 'if' with 'return'.
- Unexporting of public fields of Bridge struct.
- Formatting:
- One-field-per-line struct definitions.
Diffstat (limited to 'vendor/gopkg.in/yaml.v2/LICENSE.libyaml')
0 files changed, 0 insertions, 0 deletions