aboutsummaryrefslogtreecommitdiffstats
path: root/lib/cosProperty/src
diff options
context:
space:
mode:
authorNiclas Eklund <[email protected]>2011-02-14 10:31:00 +0100
committerNiclas Eklund <[email protected]>2011-02-14 10:31:00 +0100
commit27d6af0ed32a25d7ea1dcd83a4163f8e6ec67844 (patch)
tree0ac6f83ff66ec08f72d6a39f6cba386ebb0fa65e /lib/cosProperty/src
parent59bb06a90248defb4c0be98f10afae88c2251fe7 (diff)
downloadotp-27d6af0ed32a25d7ea1dcd83a4163f8e6ec67844.tar.gz
otp-27d6af0ed32a25d7ea1dcd83a4163f8e6ec67844.tar.bz2
otp-27d6af0ed32a25d7ea1dcd83a4163f8e6ec67844.zip
Corrected spec usage.
Diffstat (limited to 'lib/cosProperty/src')
-rw-r--r--lib/cosProperty/src/CosPropertyService_PropertySetDefFactory_impl.erl2
-rw-r--r--lib/cosProperty/src/CosPropertyService_PropertySetFactory_impl.erl4
2 files changed, 1 insertions, 5 deletions
diff --git a/lib/cosProperty/src/CosPropertyService_PropertySetDefFactory_impl.erl b/lib/cosProperty/src/CosPropertyService_PropertySetDefFactory_impl.erl
index 45fd097bff..82bc00aa7f 100644
--- a/lib/cosProperty/src/CosPropertyService_PropertySetDefFactory_impl.erl
+++ b/lib/cosProperty/src/CosPropertyService_PropertySetDefFactory_impl.erl
@@ -154,8 +154,6 @@ create_initial_propertysetdef(_OE_This, State, PropDefs) ->
evaluate_propertysetdef(SetDefs) ->
evaluate_propertysetdef(SetDefs, [], []).
-%% To avoid dialyzer warnings due to the use of exit/throw.
--spec(evaluate_propertysetdef/3 :: (_, _, _) -> no_return()).
evaluate_propertysetdef([], NewProperties, []) ->
%% No exceptions found.
NewProperties;
diff --git a/lib/cosProperty/src/CosPropertyService_PropertySetFactory_impl.erl b/lib/cosProperty/src/CosPropertyService_PropertySetFactory_impl.erl
index c251421205..1a8f83617a 100644
--- a/lib/cosProperty/src/CosPropertyService_PropertySetFactory_impl.erl
+++ b/lib/cosProperty/src/CosPropertyService_PropertySetFactory_impl.erl
@@ -5,7 +5,7 @@
%% Copyright Ericsson AB 2000-2011. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
-%% Version 1.1, (the "License"); yu may not use this file except in
+%% Version 1.1, (the "License"); you may not use this file except in
%% compliance with the License. You should have received a copy of the
%% Erlang Public License along with this software. If not, it can be
%% retrieved online at http://www.erlang.org/.
@@ -155,8 +155,6 @@ create_initial_propertyset(_OE_This, State, Properties) ->
evaluate_propertyset(Sets) ->
evaluate_propertyset(Sets, [], []).
-%% To avoid dialyzer warnings due to the use of exit/throw.
--spec(evaluate_propertyset/3 :: (_, _, _) -> no_return()).
evaluate_propertyset([], NewProperties, []) ->
%% No exceptions found.
NewProperties;