diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2011-05-19 16:05:02 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2011-05-19 16:05:02 +0100 |
| commit | 29445dd2b11ee90d1a235391bd5871a6d7f60a06 (patch) | |
| tree | 44eb3c4d84ded6540ba94a25ce5218b2c0146fa8 /src | |
| parent | d32b73f70c72ad41fd019ce0da80e47547d37982 (diff) | |
| download | rabbitmq-server-git-29445dd2b11ee90d1a235391bd5871a6d7f60a06.tar.gz | |
Slightly tighter specs, tidy imports.
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit.erl | 4 | ||||
| -rw-r--r-- | src/rabbit_channel.erl | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl index bbe987893b..9052f2f935 100644 --- a/src/rabbit.erl +++ b/src/rabbit.erl @@ -188,8 +188,8 @@ -spec(maybe_insert_default_data/0 :: () -> 'ok'). -spec(boot_delegate/0 :: () -> 'ok'). -spec(recover/0 :: () -> 'ok'). --spec(get_env/1 :: (atom()) -> any()). --spec(set_env/2 :: (atom(), any()) -> 'ok'). +-spec(get_env/1 :: (atom()) -> term()). +-spec(set_env/2 :: (atom(), term()) -> 'ok'). -spec(unset_env/1 :: (atom()) -> 'ok'). -endif. diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 301efb43e3..e5e61e56b9 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -22,8 +22,9 @@ -export([start_link/10, do/2, do/3, flush/1, shutdown/1]). -export([send_command/2, deliver/4, flushed/2, confirm/2]). --export([list/0, info_keys/0, info/1, info/2, info_all/0, info_all/1]). --export([emit_stats/1, ready_for_close/1, refresh_config_all/0]). +-export([list/0, info_keys/0, info/1, info/2, info_all/0, info_all/1, + refresh_config_all/0]). +-export([emit_stats/1, ready_for_close/1]). -export([init/1, terminate/2, code_change/3, handle_call/3, handle_cast/2, handle_info/2, handle_pre_hibernate/1, prioritise_call/3, |
