Repository: mesos
Updated Branches:
  refs/heads/master e736d0310 -> 217089091


Fixed line comments end punctuation in stout.

Review: https://reviews.apache.org/r/23708


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/21708909
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/21708909
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/21708909

Branch: refs/heads/master
Commit: 217089091942afc0a9a4e728f66b691a9d975a95
Parents: e736d03
Author: Timothy Chen <[email protected]>
Authored: Tue Sep 9 22:17:55 2014 -0700
Committer: Niklas Q. Nielsen <[email protected]>
Committed: Tue Sep 9 22:17:55 2014 -0700

----------------------------------------------------------------------
 .../3rdparty/stout/include/stout/flags/flags.hpp      |  4 ++--
 .../libprocess/3rdparty/stout/include/stout/net.hpp   |  1 +
 .../3rdparty/stout/include/stout/os/fork.hpp          | 14 ++++++++------
 3 files changed, 11 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/21708909/3rdparty/libprocess/3rdparty/stout/include/stout/flags/flags.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/flags/flags.hpp 
b/3rdparty/libprocess/3rdparty/stout/include/stout/flags/flags.hpp
index 112dcb1..9d244b2 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/flags/flags.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/flags/flags.hpp
@@ -412,7 +412,7 @@ inline Try<Nothing> FlagsBase::load(
 
     // Stop parsing flags after '--' is encountered.
     if (arg == "--") {
-      // Save the rest of the arguments
+      // Save the rest of the arguments.
       for (int j = i + 1; j < *argc; j++) {
         args.push_back((*argv)[j]);
       }
@@ -551,7 +551,7 @@ inline std::string FlagsBase::usage() const
 
   std::string usage;
 
-  std::map<std::string, std::string> col1; // key -> col 1 string
+  std::map<std::string, std::string> col1; // key -> col 1 string.
 
   // Construct string for the first column and store width of column.
   size_t width = 0;

http://git-wip-us.apache.org/repos/asf/mesos/blob/21708909/3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp 
b/3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp
index 43b1bde..7138bc2 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp
@@ -174,6 +174,7 @@ inline Try<std::set<std::string> > links()
 // +--------+--------+--------+--------+--------+--------+
 //
 //     01   :   23   :   45   :   67   :   89   :   ab
+// NOLINT(readability/ending_punctuation)
 class MAC
 {
 public:

http://git-wip-us.apache.org/repos/asf/mesos/blob/21708909/3rdparty/libprocess/3rdparty/stout/include/stout/os/fork.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/os/fork.hpp 
b/3rdparty/libprocess/3rdparty/stout/include/stout/os/fork.hpp
index 88b5797..8aa21ed 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/os/fork.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/os/fork.hpp
@@ -105,7 +105,7 @@ struct Wait {};
 
 struct Fork
 {
-  //  -+- parent
+  //  -+- parent.
   Fork(const Option<void(*)(void)>& _function,
        const Exec& _exec)
     : function(_function),
@@ -114,7 +114,7 @@ struct Fork
   Fork(const Exec& _exec) : exec(_exec) {}
 
   //  -+- parent
-  //   \--- child
+  //   \--- child.
   Fork(const Option<void(*)(void)>& _function,
        const Fork& fork1)
     : function(_function)
@@ -140,9 +140,10 @@ struct Fork
     children.push_back(fork1);
   }
 
-  //  -+- parent
+
+  // -+- parent
   //   |--- child
-  //   \--- child
+  //   \--- child.
   Fork(const Option<void(*)(void)>& _function,
        const Fork& fork1,
        const Fork& fork2)
@@ -174,10 +175,11 @@ struct Fork
     children.push_back(fork2);
   }
 
-  //  -+- parent
+
+  // -+- parent
   //   |--- child
   //   |--- child
-  //   \--- child
+  //   \--- child.
   Fork(const Option<void(*)(void)>& _function,
        const Fork& fork1,
        const Fork& fork2,

Reply via email to