THRIFT-3047 Uneven calls to indent_up and indent_down in Cocoa generator
Client: Cocoa
Author: Mike Riley <[email protected]>

This closes #401


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/3b61971c
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/3b61971c
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/3b61971c

Branch: refs/heads/master
Commit: 3b61971c8e8401e09919b3fb40b8e42bd27f9c71
Parents: f332d16
Author: Jens Geyer <[email protected]>
Authored: Thu Apr 16 22:00:43 2015 +0200
Committer: Jens Geyer <[email protected]>
Committed: Thu Apr 16 22:11:14 2015 +0200

----------------------------------------------------------------------
 compiler/cpp/src/generate/t_cocoa_generator.cc | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/3b61971c/compiler/cpp/src/generate/t_cocoa_generator.cc
----------------------------------------------------------------------
diff --git a/compiler/cpp/src/generate/t_cocoa_generator.cc 
b/compiler/cpp/src/generate/t_cocoa_generator.cc
index a87ef4a..e3e1842 100644
--- a/compiler/cpp/src/generate/t_cocoa_generator.cc
+++ b/compiler/cpp/src/generate/t_cocoa_generator.cc
@@ -1676,7 +1676,6 @@ void 
t_cocoa_generator::generate_cocoa_service_client_async_implementation(ofstr
 void t_cocoa_generator::generate_cocoa_service_server_implementation(ofstream& 
out,
                                                                      
t_service* tservice) {
   out << "@implementation " << cocoa_prefix_ << tservice->get_name() << 
"Processor" << endl;
-  indent_up();
 
   // initializer
   out << endl;
@@ -1827,8 +1826,6 @@ void 
t_cocoa_generator::generate_cocoa_service_server_implementation(ofstream& o
   scope_down(out);
   out << endl;
 
-  indent_down();
-
   out << "@end" << endl << endl;
 }
 

Reply via email to