Fix all the lint errors.

Summary:
Scripted and removed all trailing spaces and converted all tabs to
spaces.

Also fixed other lint errors.
All lint errors from this point of time should be taken seriously.

Test Plan: make all check

Reviewers: dhruba

Reviewed By: dhruba

CC: leveldb

Differential Revision: https://reviews.facebook.net/D7059
main
Abhishek Kona 12 years ago
parent 9b838535d1
commit d29f181923
  1. 2
      db/db_bench.cc
  2. 4
      db/memtablelist.cc
  3. 2
      db/version_edit.h
  4. 2
      util/env_hdfs.cc

@ -452,7 +452,7 @@ struct ThreadState {
Stats stats;
SharedState* shared;
ThreadState(int index)
/* implicit */ ThreadState(int index)
: tid(index),
rand(1000 + index) {
}

@ -1,9 +1,11 @@
// Copyright (c) 2012 Facebook.
#include "db/memtablelist.h"
#include <string>
#include "leveldb/db.h"
#include "db/memtable.h"
#include "db/memtablelist.h"
#include "leveldb/env.h"
#include "leveldb/iterator.h"
#include "util/coding.h"

@ -29,7 +29,7 @@ struct FileMetaData {
class VersionEdit {
public:
VersionEdit(int number_levels) :
/* implicit */ VersionEdit(int number_levels) :
number_levels_(number_levels) {
Clear();
}

@ -153,7 +153,7 @@ class HdfsReadableFile: virtual public SequentialFile, virtual public RandomAcce
size = pFileInfo->mSize;
hdfsFreeFileInfo(pFileInfo, 1);
} else {
throw new leveldb::HdfsFatalException("fileSize on unknown file " +
throw leveldb::HdfsFatalException("fileSize on unknown file " +
filename_);
}
return size;

Loading…
Cancel
Save