summaryrefslogtreecommitdiff
path: root/test/threads
diff options
context:
space:
mode:
authorDavid Reiss <dreiss@apache.org>2008-02-06 22:18:40 +0000
committerDavid Reiss <dreiss@apache.org>2008-02-06 22:18:40 +0000
commit0c90f6f8af1d64ec9272bb2f6092336f3d0b8df8 (patch)
tree15245f459a76acc769d8fe99179176b4965bf66d /test/threads
parent3160971286aea0d5b28d5a7a87acaa8a12209ef8 (diff)
downloadthrift-0c90f6f8af1d64ec9272bb2f6092336f3d0b8df8.tar.gz
Thrift: Whitespace cleanup.
Summary: - Expanded tabs to spaces where spaces were the norm. - Deleted almost all trailing whitespace. - Added newlines to the ends of a few files. - Ran dos2unix on one file or two. Reviewed By: mcslee Test Plan: git diff -b Revert Plan: ok git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665467 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/threads')
-rw-r--r--test/threads/Makefile2
-rw-r--r--test/threads/ThreadsServer.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/threads/Makefile b/test/threads/Makefile
index 58aebefbc..58cdf18ed 100644
--- a/test/threads/Makefile
+++ b/test/threads/Makefile
@@ -1,5 +1,5 @@
# Makefile for Thrift test project.
-#
+#
# Author:
# Mark Slee <mcslee@facebook.com>
diff --git a/test/threads/ThreadsServer.cpp b/test/threads/ThreadsServer.cpp
index a293cfbd3..826bbdb84 100644
--- a/test/threads/ThreadsServer.cpp
+++ b/test/threads/ThreadsServer.cpp
@@ -90,13 +90,13 @@ int main(int argc, char **argv) {
shared_ptr<TProtocolFactory> protocolFactory(new TBinaryProtocolFactory());
/*
- shared_ptr<ThreadManager> threadManager =
+ shared_ptr<ThreadManager> threadManager =
ThreadManager::newSimpleThreadManager(10);
shared_ptr<PosixThreadFactory> threadFactory =
shared_ptr<PosixThreadFactory>(new PosixThreadFactory());
threadManager->threadFactory(threadFactory);
threadManager->start();
-
+
shared_ptr<TServer> server =
shared_ptr<TServer>(new TThreadPoolServer(processor,
serverTransport,