aboutsummaryrefslogtreecommitdiffstats
path: root/lib/orber/src/corba.erl
diff options
context:
space:
mode:
authorNiclas Eklund <[email protected]>2011-02-17 10:33:14 +0100
committerNiclas Eklund <[email protected]>2011-02-17 10:33:14 +0100
commitcd8c12a5c1e7ecb4bef85f23629bd1efe6a5968a (patch)
tree67917622c63bd8e80b17a4f284feda8fe87d3c08 /lib/orber/src/corba.erl
parent5ee6233265d6d8e6a3d2e079908dd9f12235fe70 (diff)
downloadotp-cd8c12a5c1e7ecb4bef85f23629bd1efe6a5968a.tar.gz
otp-cd8c12a5c1e7ecb4bef85f23629bd1efe6a5968a.tar.bz2
otp-cd8c12a5c1e7ecb4bef85f23629bd1efe6a5968a.zip
Removed spec:s that wasn't needed.
Diffstat (limited to 'lib/orber/src/corba.erl')
-rw-r--r--lib/orber/src/corba.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/orber/src/corba.erl b/lib/orber/src/corba.erl
index f4a17c10e9..ecec768544 100644
--- a/lib/orber/src/corba.erl
+++ b/lib/orber/src/corba.erl
@@ -621,7 +621,7 @@ get_pid(Objkey) ->
%% Description:
%%----------------------------------------------------------------------
%% To avoid dialyzer warnings due to the use of exit/throw.
--spec(raise/1 :: (_) -> no_return()).
+-spec raise(term()) -> no_return().
raise(E) ->
throw({'EXCEPTION', E}).
@@ -632,7 +632,7 @@ raise(E) ->
%% Description:
%%----------------------------------------------------------------------
%% To avoid dialyzer warnings due to the use of exit/throw.
--spec(raise_with_state/2 :: (_, _) -> no_return()).
+-spec raise_with_state(term(), term()) -> no_return().
raise_with_state(E, State) ->
throw({reply, {'EXCEPTION', E}, State}).