diff options
author | Björn Gustavsson <[email protected]> | 2012-12-13 10:59:18 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2012-12-19 11:52:12 +0100 |
commit | c8f5e97706e86352d669880b78dc192949eb0907 (patch) | |
tree | 527da59b0db27bb6d108da29d9b13b1123d17151 /lib/megaco/test/megaco_appup_test.erl | |
parent | b8c35cfdb858cc68a40d21e58b54e2362f3a456a (diff) | |
download | otp-c8f5e97706e86352d669880b78dc192949eb0907.tar.gz otp-c8f5e97706e86352d669880b78dc192949eb0907.tar.bz2 otp-c8f5e97706e86352d669880b78dc192949eb0907.zip |
Eliminate code duplication
It seems that the code was duplicated only to avoid emitting
a semi-colon before the first case clause. Handle that by passing
a Sep argument instead.
While at it, also do the following clean-ups:
* Replace lists:keysearch/3 with lists:keyfind/3.
* Replace the use of is_record/2 with matching
Diffstat (limited to 'lib/megaco/test/megaco_appup_test.erl')
0 files changed, 0 insertions, 0 deletions