couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r960403 - /couchdb/branches/new_replicator/src/couchdb/json_stream_parse.erl
Date Sun, 04 Jul 2010 21:34:20 GMT
Author: fdmanana
Date: Sun Jul  4 21:34:20 2010
New Revision: 960403

URL: http://svn.apache.org/viewvc?rev=960403&view=rev
Log:
Fix comment and indentation.

Modified:
    couchdb/branches/new_replicator/src/couchdb/json_stream_parse.erl

Modified: couchdb/branches/new_replicator/src/couchdb/json_stream_parse.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/new_replicator/src/couchdb/json_stream_parse.erl?rev=960403&r1=960402&r2=960403&view=diff
==============================================================================
--- couchdb/branches/new_replicator/src/couchdb/json_stream_parse.erl (original)
+++ couchdb/branches/new_replicator/src/couchdb/json_stream_parse.erl Sun Jul  4 21:34:20
2010
@@ -86,7 +86,7 @@ to_ejson(DF) ->
 %                    fun(Ev2) -> ev_object_loop(Ev2) end
 %                end)
 %        end;
-%    ev_loop(array_end) ->
+%    ev_object_loop(array_end) ->
 %        ok
 %    end.
 %    
@@ -203,9 +203,9 @@ must_match(Pattern, DF, Data) ->
 must_df(DF,Error)->
     case DF() of
     done ->
-         err(Error);
+        err(Error);
     {Data, DF2} ->
-         {Data, DF2}
+        {Data, DF2}
     end.
 
 
@@ -214,8 +214,8 @@ must_df(DF,NeedLen,Acc,Error)->    
         {Acc, DF};
     true ->
         case DF() of
-            done ->
-                err(Error);
+        done ->
+            err(Error);
         {Data, DF2} ->
             must_df(DF2, NeedLen, <<Acc/binary, Data/binary>>, Error)
         end



Mime
View raw message