You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ro...@apache.org on 2010/11/30 20:46:57 UTC

svn commit: r1040732 - in /thrift/trunk/compiler/cpp/src/generate: t_as3_generator.cc t_java_generator.cc t_javame_generator.cc

Author: roger
Date: Tue Nov 30 19:46:56 2010
New Revision: 1040732

URL: http://svn.apache.org/viewvc?rev=1040732&view=rev
Log:
THRIFT-1010 Fix typo asigned -> assigned

Patch: Anatol Pomozov

Modified:
    thrift/trunk/compiler/cpp/src/generate/t_as3_generator.cc
    thrift/trunk/compiler/cpp/src/generate/t_java_generator.cc
    thrift/trunk/compiler/cpp/src/generate/t_javame_generator.cc

Modified: thrift/trunk/compiler/cpp/src/generate/t_as3_generator.cc
URL: http://svn.apache.org/viewvc/thrift/trunk/compiler/cpp/src/generate/t_as3_generator.cc?rev=1040732&r1=1040731&r2=1040732&view=diff
==============================================================================
--- thrift/trunk/compiler/cpp/src/generate/t_as3_generator.cc (original)
+++ thrift/trunk/compiler/cpp/src/generate/t_as3_generator.cc Tue Nov 30 19:46:56 2010
@@ -1055,7 +1055,7 @@ void t_as3_generator::generate_generic_i
   vector<t_field*>::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_
     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)) {

Modified: thrift/trunk/compiler/cpp/src/generate/t_java_generator.cc
URL: http://svn.apache.org/viewvc/thrift/trunk/compiler/cpp/src/generate/t_java_generator.cc?rev=1040732&r1=1040731&r2=1040732&view=diff
==============================================================================
--- thrift/trunk/compiler/cpp/src/generate/t_java_generator.cc (original)
+++ thrift/trunk/compiler/cpp/src/generate/t_java_generator.cc Tue Nov 30 19:46:56 2010
@@ -1776,7 +1776,7 @@ void t_java_generator::generate_generic_
   vector<t_field*>::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_bea
     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)) {

Modified: thrift/trunk/compiler/cpp/src/generate/t_javame_generator.cc
URL: http://svn.apache.org/viewvc/thrift/trunk/compiler/cpp/src/generate/t_javame_generator.cc?rev=1040732&r1=1040731&r2=1040732&view=diff
==============================================================================
--- thrift/trunk/compiler/cpp/src/generate/t_javame_generator.cc (original)
+++ thrift/trunk/compiler/cpp/src/generate/t_javame_generator.cc Tue Nov 30 19:46:56 2010
@@ -1713,7 +1713,7 @@ void t_javame_generator::generate_java_b
     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)) {