diff options
author | Jan Lehnardt <jan@apache.org> | 2010-06-02 12:54:49 +0000 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2010-06-02 12:54:49 +0000 |
commit | 7fe84eba9982ebb3bcaa48b7aa28fdd2e130422d (patch) | |
tree | 4f32e7871f04faa9d8920a995d77f846736da73b /src/couchdb/couch_key_tree.erl | |
parent | d2a1c286cb7a7164e09a5032562bc206562efb7e (diff) |
trailing whitespace pedantry
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@950545 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_key_tree.erl')
-rw-r--r-- | src/couchdb/couch_key_tree.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_key_tree.erl b/src/couchdb/couch_key_tree.erl index d5944119..4fe09bf3 100644 --- a/src/couchdb/couch_key_tree.erl +++ b/src/couchdb/couch_key_tree.erl @@ -290,7 +290,7 @@ map(Fun, [{Pos, Tree}|Rest]) -> map_simple(_Fun, _Pos, []) -> []; map_simple(Fun, Pos, [{Key, Value, SubTree} | RestTree]) -> - Value2 = Fun({Pos, Key}, Value, + Value2 = Fun({Pos, Key}, Value, if SubTree == [] -> leaf; true -> branch end), [{Key, Value2, map_simple(Fun, Pos + 1, SubTree)} | map_simple(Fun, Pos, RestTree)]. |