summaryrefslogtreecommitdiffstats
path: root/runtime/barrier_test.cc
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-07-17 23:40:20 -0700
committerBrian Carlstrom <bdc@google.com>2013-07-18 00:12:43 -0700
commit0cd7ec2dcd8d7ba30bf3ca420b40dac52849876c (patch)
tree525a0f99f9381156367c988133b5d51d5dfef6f7 /runtime/barrier_test.cc
parentf69863b3039fc621ff4250e262d2a024d5e79ec8 (diff)
downloadart-0cd7ec2dcd8d7ba30bf3ca420b40dac52849876c.zip
art-0cd7ec2dcd8d7ba30bf3ca420b40dac52849876c.tar.gz
art-0cd7ec2dcd8d7ba30bf3ca420b40dac52849876c.tar.bz2
Fix cpplint whitespace/blank_line issues
Change-Id: Ice937e95e23dd622c17054551d4ae4cebd0ef8a2
Diffstat (limited to 'runtime/barrier_test.cc')
-rw-r--r--runtime/barrier_test.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/runtime/barrier_test.cc b/runtime/barrier_test.cc
index d26ae9e..298ae56 100644
--- a/runtime/barrier_test.cc
+++ b/runtime/barrier_test.cc
@@ -32,9 +32,7 @@ class CheckWaitTask : public Task {
: barrier_(barrier),
count1_(count1),
count2_(count2),
- count3_(count3) {
-
- }
+ count3_(count3) {}
void Run(Thread* self) {
LOG(INFO) << "Before barrier 1 " << *self;
@@ -50,6 +48,7 @@ class CheckWaitTask : public Task {
virtual void Finalize() {
delete this;
}
+
private:
Barrier* const barrier_;
AtomicInteger* const count1_;
@@ -100,9 +99,7 @@ class CheckPassTask : public Task {
CheckPassTask(Barrier* barrier, AtomicInteger* count, size_t subtasks)
: barrier_(barrier),
count_(count),
- subtasks_(subtasks) {
-
- }
+ subtasks_(subtasks) {}
void Run(Thread* self) {
for (size_t i = 0; i < subtasks_; ++i) {