aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/src/mnesia_text.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-01-13 07:54:33 +0100
committerBjörn Gustavsson <[email protected]>2016-01-22 16:44:08 +0100
commitc623e64625cc4154d9d314f46446c681e2e4e697 (patch)
treee85d240d1a2c77c4c5fdeec735a1afd3280e036c /lib/mnesia/src/mnesia_text.erl
parent0b9852d9a774be8c6f1d91065b60329bac779e2f (diff)
downloadotp-c623e64625cc4154d9d314f46446c681e2e4e697.tar.gz
otp-c623e64625cc4154d9d314f46446c681e2e4e697.tar.bz2
otp-c623e64625cc4154d9d314f46446c681e2e4e697.zip
code_server: Tighten type of modules parameters
The following functions in the 'code' module only allow the module argument to an atom: load_file/1 load_binary/3 ensure_loaded/1 delete/1 purge/1 soft_purge/1 get_object_code/1 Therefore, there is no reason that the corresponding implementation in code_server should allow the module to be either an atom or a string. Only accept an atom and remove the helper functions to_atom/1 and do_mod_call/4.
Diffstat (limited to 'lib/mnesia/src/mnesia_text.erl')
0 files changed, 0 insertions, 0 deletions