aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2011-03-05 19:16:08 +0200
committerNiclas Axelsson <[email protected]>2011-03-11 12:06:16 +0100
commit2d104353be1fba19d8f202dd2469083c5fe53be7 (patch)
tree302bd98a911866e23e1f438ae3973dda30ba35fa /lib
parent1f07334d042e478d385caa0d7634ebfa6703f27a (diff)
downloadotp-2d104353be1fba19d8f202dd2469083c5fe53be7.tar.gz
otp-2d104353be1fba19d8f202dd2469083c5fe53be7.tar.bz2
otp-2d104353be1fba19d8f202dd2469083c5fe53be7.zip
Simplify two specs
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/src/application.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kernel/src/application.erl b/lib/kernel/src/application.erl
index d9db23d652..2a193affd4 100644
--- a/lib/kernel/src/application.erl
+++ b/lib/kernel/src/application.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2009. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2011. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -204,12 +204,12 @@ get_env(Key) ->
get_env(Application, Key) ->
application_controller:get_env(Application, Key).
--spec get_all_env() -> [] | [{atom(), any()}].
+-spec get_all_env() -> [{atom(), any()}].
get_all_env() ->
application_controller:get_pid_all_env(group_leader()).
--spec get_all_env(atom()) -> [] | [{atom(), any()}].
+-spec get_all_env(atom()) -> [{atom(), any()}].
get_all_env(Application) ->
application_controller:get_all_env(Application).