You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by al...@apache.org on 2016/10/07 13:22:41 UTC

mesos git commit: Fixed typos in resources.hpp headers.

Repository: mesos
Updated Branches:
  refs/heads/master acbebcc6f -> 4773b27dc


Fixed typos in resources.hpp headers.

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


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

Branch: refs/heads/master
Commit: 4773b27dccc132a08836336ba779dea4336e52fb
Parents: acbebcc
Author: Gast�n Kleiman <ga...@mesosphere.com>
Authored: Fri Oct 7 15:22:20 2016 +0200
Committer: Alexander Rukletsov <al...@apache.org>
Committed: Fri Oct 7 15:22:20 2016 +0200

----------------------------------------------------------------------
 include/mesos/resources.hpp    | 4 ++--
 include/mesos/v1/resources.hpp | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/4773b27d/include/mesos/resources.hpp
----------------------------------------------------------------------
diff --git a/include/mesos/resources.hpp b/include/mesos/resources.hpp
index 4a994d0..ffbd466 100644
--- a/include/mesos/resources.hpp
+++ b/include/mesos/resources.hpp
@@ -107,7 +107,7 @@ private:
     // Check whether this Resource_ object is empty.
     bool isEmpty() const;
 
-    // The `Resource_` arithmetric, comparison operators and `contains()`
+    // The `Resource_` arithmetic, comparison operators and `contains()`
     // method require the wrapped `resource` protobuf to have the same
     // sharedness.
     //
@@ -470,7 +470,7 @@ public:
   bool operator!=(const Resources& that) const;
 
   // NOTE: If any error occurs (e.g., input Resource is not valid or
-  // the first operand is not a superset of the second oprand while
+  // the first operand is not a superset of the second operand while
   // doing subtraction), the semantics is as though the second operand
   // was actually just an empty resource (as though you didn't do the
   // operation at all).

http://git-wip-us.apache.org/repos/asf/mesos/blob/4773b27d/include/mesos/v1/resources.hpp
----------------------------------------------------------------------
diff --git a/include/mesos/v1/resources.hpp b/include/mesos/v1/resources.hpp
index 8598587..5ce038b 100644
--- a/include/mesos/v1/resources.hpp
+++ b/include/mesos/v1/resources.hpp
@@ -107,7 +107,7 @@ private:
     // Check whether this Resource_ object is empty.
     bool isEmpty() const;
 
-    // The `Resource_` arithmetric, comparison operators and `contains()`
+    // The `Resource_` arithmetic, comparison operators and `contains()`
     // method require the wrapped `resource` protobuf to have the same
     // sharedness.
     //
@@ -470,7 +470,7 @@ public:
   bool operator!=(const Resources& that) const;
 
   // NOTE: If any error occurs (e.g., input Resource is not valid or
-  // the first operand is not a superset of the second oprand while
+  // the first operand is not a superset of the second operand while
   // doing subtraction), the semantics is as though the second operand
   // was actually just an empty resource (as though you didn't do the
   // operation at all).