@@ -120,8 +120,7 @@ grpc::string NodeObjectPath(const Descriptor* descriptor) {
120
120
}
121
121
122
122
// Prints out the message serializer and deserializer functions
123
- void PrintMessageTransformer (const Descriptor* descriptor,
124
- Printer* out,
123
+ void PrintMessageTransformer (const Descriptor* descriptor, Printer* out,
125
124
const Parameters& params) {
126
125
map<grpc::string, grpc::string> template_vars;
127
126
grpc::string full_name = descriptor->full_name ();
@@ -135,7 +134,7 @@ void PrintMessageTransformer(const Descriptor* descriptor,
135
134
out->Print (template_vars, " if (!(arg instanceof $node_name$)) {\n " );
136
135
out->Indent ();
137
136
out->Print (template_vars,
138
- " throw new Error('Expected argument of type $name$');\n " );
137
+ " throw new Error('Expected argument of type $name$');\n " );
139
138
out->Outdent ();
140
139
out->Print (" }\n " );
141
140
}
@@ -236,8 +235,7 @@ void PrintImports(const FileDescriptor* file, Printer* out,
236
235
out->Print (" \n " );
237
236
}
238
237
239
- void PrintTransformers (const FileDescriptor* file,
240
- Printer* out,
238
+ void PrintTransformers (const FileDescriptor* file, Printer* out,
241
239
const Parameters& params) {
242
240
map<grpc::string, const Descriptor*> messages = GetAllMessages (file);
243
241
for (std::map<grpc::string, const Descriptor*>::iterator it =
0 commit comments