Thrift: Cleaned up whitespace.
Summary:
Replaced a lot of tabs with spaces in the thrift codebase.
Removed a lot of trailing whitespace from thrift-generated c++.
Added a few things to cleanup.sh.
Trac Bug: #
Blame Rev:
Reviewed By: mcslee
Test Plan:
Recompiled thrift.
Re-thrifted some test .thrifts.
Compiled the genrated c++.
Ran cleanup.sh.
Revert Plan: ok
Notes:
EImportant:
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665176 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/concurrency/test/TimerManagerTests.h b/lib/cpp/src/concurrency/test/TimerManagerTests.h
index e7948e4..bd959cd 100644
--- a/lib/cpp/src/concurrency/test/TimerManagerTests.h
+++ b/lib/cpp/src/concurrency/test/TimerManagerTests.h
@@ -54,7 +54,7 @@
float error = delta / _timeout;
if(error < ERROR) {
- _success = true;
+ _success = true;
}
_done = true;
@@ -62,7 +62,7 @@
std::cout << "\t\t\tTimerManagerTests::Task[" << this << "] done" << std::endl; //debug
{Synchronized s(_monitor);
- _monitor.notifyAll();
+ _monitor.notifyAll();
}
}
@@ -99,11 +99,11 @@
{
Synchronized s(_monitor);
- timerManager.add(orphanTask, 10 * timeout);
+ timerManager.add(orphanTask, 10 * timeout);
- timerManager.add(task, timeout);
+ timerManager.add(task, timeout);
- _monitor.wait();
+ _monitor.wait();
}
assert(task->_done);