thrift-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dre...@apache.org
Subject svn commit: r902941 - in /incubator/thrift/trunk: compiler/cpp/src/ lib/cpp/src/concurrency/ lib/cpp/src/protocol/ lib/cpp/src/server/ lib/cpp/src/transport/ lib/php/src/transport/
Date Mon, 25 Jan 2010 19:31:32 GMT
Author: dreiss
Date: Mon Jan 25 19:31:31 2010
New Revision: 902941

URL: http://svn.apache.org/viewvc?rev=902941&view=rev
Log:
THRIFT-683. Remove profanity

Modified:
    incubator/thrift/trunk/compiler/cpp/src/main.cc
    incubator/thrift/trunk/lib/cpp/src/concurrency/Util.h
    incubator/thrift/trunk/lib/cpp/src/protocol/TProtocolException.h
    incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.cpp
    incubator/thrift/trunk/lib/cpp/src/transport/TTransportException.h
    incubator/thrift/trunk/lib/php/src/transport/TSocketPool.php

Modified: incubator/thrift/trunk/compiler/cpp/src/main.cc
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/compiler/cpp/src/main.cc?rev=902941&r1=902940&r2=902941&view=diff
==============================================================================
--- incubator/thrift/trunk/compiler/cpp/src/main.cc (original)
+++ incubator/thrift/trunk/compiler/cpp/src/main.cc Mon Jan 25 19:31:31 2010
@@ -652,7 +652,7 @@
  * wouldn't need runtime type information and all that jazz. But then we
  * decided to add constants, and all of a sudden that means runtime type
  * validation and inference, except the "runtime" is the code generator
- * runtime. Shit. I've been had.
+ * runtime.
  */
 void validate_const_rec(std::string name, t_type* type, t_const_value* value) {
   if (type->is_void()) {

Modified: incubator/thrift/trunk/lib/cpp/src/concurrency/Util.h
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/cpp/src/concurrency/Util.h?rev=902941&r1=902940&r2=902941&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/cpp/src/concurrency/Util.h (original)
+++ incubator/thrift/trunk/lib/cpp/src/concurrency/Util.h Mon Jan 25 19:31:31 2010
@@ -35,7 +35,7 @@
  * and other common platform-dependent concurrency operations.
  * It should not be included in API headers for other concurrency library
  * headers, since it will, by definition, pull in all sorts of horrid
- * platform dependent crap.  Rather it should be inluded directly in
+ * platform dependent stuff.  Rather it should be inluded directly in
  * concurrency library implementation source.
  *
  * @version $Id:$

Modified: incubator/thrift/trunk/lib/cpp/src/protocol/TProtocolException.h
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/cpp/src/protocol/TProtocolException.h?rev=902941&r1=902940&r2=902941&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/cpp/src/protocol/TProtocolException.h (original)
+++ incubator/thrift/trunk/lib/cpp/src/protocol/TProtocolException.h Mon Jan 25 19:31:31 2010
@@ -27,7 +27,7 @@
 /**
  * Class to encapsulate all the possible types of protocol errors that may
  * occur in various protocol systems. This provides a sort of generic
- * wrapper around the shitty UNIX E_ error codes that lets a common code
+ * wrapper around the vague UNIX E_ error codes that lets a common code
  * base of error handling to be used for various types of protocols, i.e.
  * pipes etc.
  *

Modified: incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.cpp
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.cpp?rev=902941&r1=902940&r2=902941&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.cpp (original)
+++ incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.cpp Mon Jan 25 19:31:31 2010
@@ -213,7 +213,7 @@
     return;
 
   default:
-    GlobalOutput.printf("Shit Got Ill. Socket State %d", socketState_);
+    GlobalOutput.printf("Unexpected Socket State %d", socketState_);
     assert(0);
   }
 }
@@ -426,7 +426,7 @@
     return;
 
   default:
-    GlobalOutput.printf("Totally Fucked. Application State %d", appState_);
+    GlobalOutput.printf("Unexpected Application State %d", appState_);
     assert(0);
   }
 }
@@ -557,7 +557,7 @@
  * connections on fd and assign TConnection objects to handle those requests.
  */
 void TNonblockingServer::handleEvent(int fd, short which) {
-  // Make sure that libevent didn't fuck up the socket handles
+  // Make sure that libevent didn't mess up the socket handles
   assert(fd == serverSocket_);
 
   // Server socket accepted a new connection

Modified: incubator/thrift/trunk/lib/cpp/src/transport/TTransportException.h
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/cpp/src/transport/TTransportException.h?rev=902941&r1=902940&r2=902941&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/cpp/src/transport/TTransportException.h (original)
+++ incubator/thrift/trunk/lib/cpp/src/transport/TTransportException.h Mon Jan 25 19:31:31
2010
@@ -28,7 +28,7 @@
 /**
  * Class to encapsulate all the possible types of transport errors that may
  * occur in various transport systems. This provides a sort of generic
- * wrapper around the shitty UNIX E_ error codes that lets a common code
+ * wrapper around the vague UNIX E_ error codes that lets a common code
  * base of error handling to be used for various types of transports, i.e.
  * pipes etc.
  *

Modified: incubator/thrift/trunk/lib/php/src/transport/TSocketPool.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/transport/TSocketPool.php?rev=902941&r1=902940&r2=902941&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/transport/TSocketPool.php (original)
+++ incubator/thrift/trunk/lib/php/src/transport/TSocketPool.php Mon Jan 25 19:31:31 2010
@@ -278,7 +278,7 @@
       }
     }
 
-    // Holy shit we failed them all. The system is totally ill!
+    // Oh no; we failed them all. The system is totally ill!
     $error = 'TSocketPool: All hosts in pool are down. ';
     $hosts = array();
     foreach ($this->servers_ as $server) {



Mime
View raw message