Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Fix dialyzer warnings
This closes #9
This closes #13

Signed-off-by: Alexander Shorin <kxepal@apache.org>
  • Loading branch information
iilyak authored and kxepal committed Oct 17, 2015
1 parent be34447 commit c359a6900c193211a77004df9a31c2ad4bcddf9d
Showing 2 changed files with 4 additions and 3 deletions.
@@ -37,7 +37,8 @@
key/0,
handle/0,
plugin_id/0,
data_spec/0
data_spec/0,
apply_opts/0
]).

-type app() :: atom().
@@ -128,7 +129,7 @@ subscribers(Handle) when Handle /= undefined ->
couch_epi_data_gen:subscribers(Handle).

-spec apply(Handle :: handle(), ServiceId :: atom(), Function :: atom(),
Args :: [term()], Opts :: apply_opts()) -> ok.
Args :: [term()], Opts :: apply_opts()) -> [any()].

apply(Handle, ServiceId, Function, Args, Opts) when Handle /= undefined ->
couch_epi_functions_gen:apply(Handle, ServiceId, Function, Args, Opts).
@@ -44,7 +44,7 @@ apply(ServiceId, Function, Args, Opts) when is_atom(ServiceId) ->
apply(get_handle(ServiceId), ServiceId, Function, Args, Opts).

-spec apply(Handle :: atom(), ServiceId :: atom(), Function :: atom(),
Args :: [term()], Opts :: couch_epi:apply_opts()) -> ok.
Args :: [term()], Opts :: couch_epi:apply_opts()) -> [any()].

apply(Handle, _ServiceId, Function, Args, Opts) ->
DispatchOpts = parse_opts(Opts),

0 comments on commit c359a69

Please sign in to comment.