Client: java
Patch: Mike Riley
Adds program_name to the Constants file in java to match all other client libs.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1210724 13f79535-47bb-0310-9956-
ffa450edef68
return;
}
- string f_consts_name = package_dir_+"/Constants.java";
+ string f_consts_name = package_dir_+ '/' + program_name_ + "Constants.java";
ofstream f_consts;
f_consts.open(f_consts_name.c_str());
java_type_imports();
f_consts <<
- "public class Constants {" << endl <<
+ "public class " << program_name_ << "Constants {" << endl <<
endl;
indent_up();
vector<t_const*>::iterator c_iter;