aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-06-01 16:51:11 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-06-01 16:51:11 +0200
commitced603ba9349f3591e0382dd2c6b88ac14cc3d2a (patch)
treeab572934cb7690d38b0e0edcf1b73d34c38a2826
parentf8ce3307a63b5c5d8ad8aaadfcce92e602b0cae7 (diff)
Add missing newlines.
-rw-r--r--searchlib/src/vespa/searchlib/attribute/multivalueattributesaverutils.h2
-rw-r--r--searchlib/src/vespa/searchlib/diskindex/pagedict4file.h5
-rw-r--r--searchlib/src/vespa/searchlib/diskindex/wordnummapper.h2
-rw-r--r--searchlib/src/vespa/searchlib/fef/table.h2
-rw-r--r--searchlib/src/vespa/searchlib/test/statefile.h4
-rw-r--r--searchlib/src/vespa/searchlib/transactionlog/translogserverapp.cpp2
-rw-r--r--searchlib/src/vespa/searchlib/util/dirtraverse.h2
-rw-r--r--searchlib/src/vespa/searchlib/util/filekit.h2
-rw-r--r--searchlib/src/vespa/searchlib/util/foldedstringcompare.h2
-rw-r--r--searchlib/src/vespa/searchlib/util/sigbushandler.cpp2
-rw-r--r--searchlib/src/vespa/searchlib/util/statefile.cpp2
-rw-r--r--searchlib/src/vespa/searchlib/util/url.cpp2
-rw-r--r--searchsummary/src/vespa/searchsummary/docsummary/docsumformat.cpp2
13 files changed, 14 insertions, 17 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/multivalueattributesaverutils.h b/searchlib/src/vespa/searchlib/attribute/multivalueattributesaverutils.h
index 426c4142e1b..fb41b4be053 100644
--- a/searchlib/src/vespa/searchlib/attribute/multivalueattributesaverutils.h
+++ b/searchlib/src/vespa/searchlib/attribute/multivalueattributesaverutils.h
@@ -71,4 +71,4 @@ public:
void writeWeights(vespalib::ConstArrayRef<MultiValueT>) {}
};
-} // namespace search::multivalueattributesaver \ No newline at end of file
+}
diff --git a/searchlib/src/vespa/searchlib/diskindex/pagedict4file.h b/searchlib/src/vespa/searchlib/diskindex/pagedict4file.h
index 20b6006579a..574269c51c5 100644
--- a/searchlib/src/vespa/searchlib/diskindex/pagedict4file.h
+++ b/searchlib/src/vespa/searchlib/diskindex/pagedict4file.h
@@ -9,8 +9,7 @@
namespace vespalib { class GenericHeader; }
-namespace search::diskindex
-{
+namespace search::diskindex {
/**
* Dictionary file containing words and counts for words.
@@ -225,4 +224,4 @@ public:
getParams(index::PostingListParams &params) override;
};
-} \ No newline at end of file
+}
diff --git a/searchlib/src/vespa/searchlib/diskindex/wordnummapper.h b/searchlib/src/vespa/searchlib/diskindex/wordnummapper.h
index 90177ed5fc7..a45f5dc64ed 100644
--- a/searchlib/src/vespa/searchlib/diskindex/wordnummapper.h
+++ b/searchlib/src/vespa/searchlib/diskindex/wordnummapper.h
@@ -81,4 +81,4 @@ public:
void sanityCheck(bool allowHoles);
};
-} \ No newline at end of file
+}
diff --git a/searchlib/src/vespa/searchlib/fef/table.h b/searchlib/src/vespa/searchlib/fef/table.h
index 11671607991..03a0310d0bf 100644
--- a/searchlib/src/vespa/searchlib/fef/table.h
+++ b/searchlib/src/vespa/searchlib/fef/table.h
@@ -60,4 +60,4 @@ public:
}
};
-} \ No newline at end of file
+}
diff --git a/searchlib/src/vespa/searchlib/test/statefile.h b/searchlib/src/vespa/searchlib/test/statefile.h
index bc7114c8cf3..6c67a112ebb 100644
--- a/searchlib/src/vespa/searchlib/test/statefile.h
+++ b/searchlib/src/vespa/searchlib/test/statefile.h
@@ -7,12 +7,10 @@ namespace search {
class StateFile;
-namespace test {
-namespace statefile {
+namespace test::statefile {
vespalib::string readState(StateFile &sf);
std::vector<vespalib::string> readHistory(const char *name);
}
}
-} \ No newline at end of file
diff --git a/searchlib/src/vespa/searchlib/transactionlog/translogserverapp.cpp b/searchlib/src/vespa/searchlib/transactionlog/translogserverapp.cpp
index d5ceaaba5f0..1b0959d63fd 100644
--- a/searchlib/src/vespa/searchlib/transactionlog/translogserverapp.cpp
+++ b/searchlib/src/vespa/searchlib/transactionlog/translogserverapp.cpp
@@ -1,5 +1,5 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-//
+
#include "translogserverapp.h"
#include <vespa/log/log.h>
diff --git a/searchlib/src/vespa/searchlib/util/dirtraverse.h b/searchlib/src/vespa/searchlib/util/dirtraverse.h
index 127e1202762..6351e20230f 100644
--- a/searchlib/src/vespa/searchlib/util/dirtraverse.h
+++ b/searchlib/src/vespa/searchlib/util/dirtraverse.h
@@ -59,4 +59,4 @@ public:
~DirectoryTraverse();
};
-} // namespace search \ No newline at end of file
+} // namespace search
diff --git a/searchlib/src/vespa/searchlib/util/filekit.h b/searchlib/src/vespa/searchlib/util/filekit.h
index cda6356939c..77dbe92a200 100644
--- a/searchlib/src/vespa/searchlib/util/filekit.h
+++ b/searchlib/src/vespa/searchlib/util/filekit.h
@@ -25,4 +25,4 @@ public:
static fastos::TimeStamp getModificationTime(const vespalib::stringref &name);
};
-} \ No newline at end of file
+}
diff --git a/searchlib/src/vespa/searchlib/util/foldedstringcompare.h b/searchlib/src/vespa/searchlib/util/foldedstringcompare.h
index 4e1449ca4eb..568305255e7 100644
--- a/searchlib/src/vespa/searchlib/util/foldedstringcompare.h
+++ b/searchlib/src/vespa/searchlib/util/foldedstringcompare.h
@@ -53,4 +53,4 @@ public:
int compare(const char *key, const char *okey) const;
};
-} // namespace search \ No newline at end of file
+} // namespace search
diff --git a/searchlib/src/vespa/searchlib/util/sigbushandler.cpp b/searchlib/src/vespa/searchlib/util/sigbushandler.cpp
index ed3a114a426..fa7958a853b 100644
--- a/searchlib/src/vespa/searchlib/util/sigbushandler.cpp
+++ b/searchlib/src/vespa/searchlib/util/sigbushandler.cpp
@@ -151,4 +151,4 @@ SigBusHandler::~SigBusHandler()
untrap();
}
-} \ No newline at end of file
+}
diff --git a/searchlib/src/vespa/searchlib/util/statefile.cpp b/searchlib/src/vespa/searchlib/util/statefile.cpp
index a01004ef914..58a2167f30f 100644
--- a/searchlib/src/vespa/searchlib/util/statefile.cpp
+++ b/searchlib/src/vespa/searchlib/util/statefile.cpp
@@ -457,4 +457,4 @@ StateFile::getGen() const
return _gen;
}
-} \ No newline at end of file
+}
diff --git a/searchlib/src/vespa/searchlib/util/url.cpp b/searchlib/src/vespa/searchlib/util/url.cpp
index fe000ac2d1f..82a2f35e738 100644
--- a/searchlib/src/vespa/searchlib/util/url.cpp
+++ b/searchlib/src/vespa/searchlib/util/url.cpp
@@ -544,4 +544,4 @@ URL::Dump()
}
}
-} \ No newline at end of file
+}
diff --git a/searchsummary/src/vespa/searchsummary/docsummary/docsumformat.cpp b/searchsummary/src/vespa/searchsummary/docsummary/docsumformat.cpp
index 5e6f2ffb3d9..baa2afb4631 100644
--- a/searchsummary/src/vespa/searchsummary/docsummary/docsumformat.cpp
+++ b/searchsummary/src/vespa/searchsummary/docsummary/docsumformat.cpp
@@ -98,4 +98,4 @@ DocsumFormat::addEmpty(ResType type, search::RawBuf &target)
return 0;
}
-} \ No newline at end of file
+}