From: Roger Meier Date: Tue, 30 Nov 2010 19:46:56 +0000 (+0000) Subject: THRIFT-1010 Fix typo asigned -> assigned X-Git-Tag: 0.6.0~19 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=26f817a0c947ffed39e2961eddbdc36933f23ee0;p=common%2Fthrift.git THRIFT-1010 Fix typo asigned -> assigned Patch: Anatol Pomozov git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1040732 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/compiler/cpp/src/generate/t_as3_generator.cc b/compiler/cpp/src/generate/t_as3_generator.cc index aa258a15..47532e19 100644 --- a/compiler/cpp/src/generate/t_as3_generator.cc +++ b/compiler/cpp/src/generate/t_as3_generator.cc @@ -1055,7 +1055,7 @@ void t_as3_generator::generate_generic_isset_method(std::ofstream& out, t_struct vector::const_iterator f_iter; // create the isSet method - indent(out) << "// Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise" << endl; + indent(out) << "// Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise" << endl; indent(out) << "public function isSet(fieldID:int):Boolean {" << endl; indent_up(); indent(out) << "switch (fieldID) {" << endl; @@ -1141,7 +1141,7 @@ void t_as3_generator::generate_as3_bean_boilerplate(ofstream& out, indent(out) << "}" << endl << endl; // isSet method - indent(out) << "// Returns true if field " << field_name << " is set (has been asigned a value) and false otherwise" << endl; + indent(out) << "// Returns true if field " << field_name << " is set (has been assigned a value) and false otherwise" << endl; indent(out) << "public function is" << get_cap_name("set") << cap_name << "():Boolean {" << endl; indent_up(); if (type_can_be_null(type)) { diff --git a/compiler/cpp/src/generate/t_java_generator.cc b/compiler/cpp/src/generate/t_java_generator.cc index 490e8def..fca576ee 100644 --- a/compiler/cpp/src/generate/t_java_generator.cc +++ b/compiler/cpp/src/generate/t_java_generator.cc @@ -1776,7 +1776,7 @@ void t_java_generator::generate_generic_isset_method(std::ofstream& out, t_struc vector::const_iterator f_iter; // create the isSet method - indent(out) << "/** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */" << endl; + indent(out) << "/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */" << endl; indent(out) << "public boolean isSet(_Fields field) {" << endl; indent_up(); indent(out) << "if (field == null) {" << endl; @@ -1957,7 +1957,7 @@ void t_java_generator::generate_java_bean_boilerplate(ofstream& out, indent(out) << "}" << endl << endl; // isSet method - indent(out) << "/** Returns true if field " << field_name << " is set (has been asigned a value) and false otherwise */" << endl; + indent(out) << "/** Returns true if field " << field_name << " is set (has been assigned a value) and false otherwise */" << endl; indent(out) << "public boolean is" << get_cap_name("set") << cap_name << "() {" << endl; indent_up(); if (type_can_be_null(type)) { diff --git a/compiler/cpp/src/generate/t_javame_generator.cc b/compiler/cpp/src/generate/t_javame_generator.cc index b390239c..991bf78e 100644 --- a/compiler/cpp/src/generate/t_javame_generator.cc +++ b/compiler/cpp/src/generate/t_javame_generator.cc @@ -1713,7 +1713,7 @@ void t_javame_generator::generate_java_bean_boilerplate(ofstream& out, indent(out) << "}" << endl << endl; // isSet method - indent(out) << "/** Returns true if field " << field_name << " is set (has been asigned a value) and false otherwise */" << endl; + indent(out) << "/** Returns true if field " << field_name << " is set (has been assigned a value) and false otherwise */" << endl; indent(out) << "public boolean is" << get_cap_name("set") << cap_name << "() {" << endl; indent_up(); if (type_can_be_null(type)) {