THRIFT-683. Remove profanity
authorDavid Reiss <dreiss@apache.org>
Mon, 25 Jan 2010 19:31:31 +0000 (19:31 +0000)
committerDavid Reiss <dreiss@apache.org>
Mon, 25 Jan 2010 19:31:31 +0000 (19:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@902941 13f79535-47bb-0310-9956-ffa450edef68

compiler/cpp/src/main.cc
lib/cpp/src/concurrency/Util.h
lib/cpp/src/protocol/TProtocolException.h
lib/cpp/src/server/TNonblockingServer.cpp
lib/cpp/src/transport/TTransportException.h
lib/php/src/transport/TSocketPool.php

index 7eb4801..507aaee 100644 (file)
@@ -652,7 +652,7 @@ void usage() {
  * 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()) {
index 25fcc20..4630dbb 100644 (file)
@@ -35,7 +35,7 @@ namespace apache { namespace thrift { namespace concurrency {
  * 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:$
index 33011b3..a03d3c8 100644 (file)
@@ -27,7 +27,7 @@ namespace apache { namespace thrift { namespace protocol {
 /**
  * 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.
  *
index 1076455..5375387 100644 (file)
@@ -213,7 +213,7 @@ void TConnection::workSocket() {
     return;
 
   default:
-    GlobalOutput.printf("Shit Got Ill. Socket State %d", socketState_);
+    GlobalOutput.printf("Unexpected Socket State %d", socketState_);
     assert(0);
   }
 }
@@ -426,7 +426,7 @@ void TConnection::transition() {
     return;
 
   default:
-    GlobalOutput.printf("Totally Fucked. Application State %d", appState_);
+    GlobalOutput.printf("Unexpected Application State %d", appState_);
     assert(0);
   }
 }
@@ -557,7 +557,7 @@ void TNonblockingServer::returnConnection(TConnection* connection) {
  * 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
index 330785c..a3ad02b 100644 (file)
@@ -28,7 +28,7 @@ namespace apache { namespace thrift { namespace transport {
 /**
  * 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.
  *
index 7f1157c..1421a65 100644 (file)
@@ -278,7 +278,7 @@ class TSocketPool extends TSocket {
       }
     }
 
-    // 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) {