couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject couchdb-global-changes git commit: erlang R14-18 compatibility
Date Thu, 02 Jul 2015 21:59:59 GMT
Repository: couchdb-global-changes
Updated Branches:
  refs/heads/master 2c267617d -> d9f480321


erlang R14-18 compatibility


Project: http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/commit/d9f48032
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/tree/d9f48032
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/diff/d9f48032

Branch: refs/heads/master
Commit: d9f480321bf4a483f83aec03a4fdeeae5e324f4c
Parents: 2c26761
Author: Robert Newson <rnewson@apache.org>
Authored: Thu Jul 2 22:59:49 2015 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Thu Jul 2 22:59:49 2015 +0100

----------------------------------------------------------------------
 src/global_changes_listener.erl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/blob/d9f48032/src/global_changes_listener.erl
----------------------------------------------------------------------
diff --git a/src/global_changes_listener.erl b/src/global_changes_listener.erl
index 87a0268..9adf0e1 100644
--- a/src/global_changes_listener.erl
+++ b/src/global_changes_listener.erl
@@ -154,7 +154,8 @@ handle_info(_Msg, State) ->
     maybe_send_updates(State).
 
 
--spec group_updates_by_node(binary(), [binary()]) -> dict().
+%% restore spec when R14 support is dropped
+%% -spec group_updates_by_node(binary(), [binary()]) -> dict:dict().
 group_updates_by_node(DbName, Updates) ->
     lists:foldl(fun(Key, OuterAcc) ->
         Shards = mem3:shards(DbName, Key),


Mime
View raw message