THRIFT-683. Remove profanity

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@902941 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/concurrency/Util.h b/lib/cpp/src/concurrency/Util.h
index 25fcc20..4630dbb 100644
--- a/lib/cpp/src/concurrency/Util.h
+++ b/lib/cpp/src/concurrency/Util.h
@@ -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:$
diff --git a/lib/cpp/src/protocol/TProtocolException.h b/lib/cpp/src/protocol/TProtocolException.h
index 33011b3..a03d3c8 100644
--- a/lib/cpp/src/protocol/TProtocolException.h
+++ b/lib/cpp/src/protocol/TProtocolException.h
@@ -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.
  *
diff --git a/lib/cpp/src/server/TNonblockingServer.cpp b/lib/cpp/src/server/TNonblockingServer.cpp
index 1076455..5375387 100644
--- a/lib/cpp/src/server/TNonblockingServer.cpp
+++ b/lib/cpp/src/server/TNonblockingServer.cpp
@@ -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
diff --git a/lib/cpp/src/transport/TTransportException.h b/lib/cpp/src/transport/TTransportException.h
index 330785c..a3ad02b 100644
--- a/lib/cpp/src/transport/TTransportException.h
+++ b/lib/cpp/src/transport/TTransportException.h
@@ -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.
  *
diff --git a/lib/php/src/transport/TSocketPool.php b/lib/php/src/transport/TSocketPool.php
index 7f1157c..1421a65 100644
--- a/lib/php/src/transport/TSocketPool.php
+++ b/lib/php/src/transport/TSocketPool.php
@@ -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) {