You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2015/03/12 18:41:53 UTC

mesos git commit: Corrected constant naming rule in the style guide.

Repository: mesos
Updated Branches:
  refs/heads/master 7bdb559c6 -> acaee563a


Corrected constant naming rule in the style guide.

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


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

Branch: refs/heads/master
Commit: acaee563a66e5528ae5c5e417f2a811f8ee466b2
Parents: 7bdb559
Author: Alexander Rukletsov <al...@mesosphere.io>
Authored: Thu Mar 12 10:41:34 2015 -0700
Committer: Benjamin Hindman <be...@gmail.com>
Committed: Thu Mar 12 10:41:34 2015 -0700

----------------------------------------------------------------------
 docs/mesos-c++-style-guide.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/acaee563/docs/mesos-c++-style-guide.md
----------------------------------------------------------------------
diff --git a/docs/mesos-c++-style-guide.md b/docs/mesos-c++-style-guide.md
index b24fe4b..439fe12 100644
--- a/docs/mesos-c++-style-guide.md
+++ b/docs/mesos-c++-style-guide.md
@@ -12,7 +12,7 @@ The Mesos codebase follows the [Google C++ Style Guide](http://google-styleguide
 * We use [lowerCamelCase](http://en.wikipedia.org/wiki/CamelCase#Variations_and_synonyms) for variable names (Google uses snake_case, and their class member variables have trailing underscores).
 
 ### Constant Names
-* We use [lowerCamelCase](http://en.wikipedia.org/wiki/CamelCase#Variations_and_synonyms) for constant names (Google uses a `k` followed by mixed case, e.g. `kDaysInAWeek`).
+* We use [SCREAMING_SNAKE_CASE](http://en.wikipedia.org/wiki/Letter_case#Special_case_styles) for constant names (Google uses a `k` followed by mixed case, e.g. `kDaysInAWeek`).
 
 ### Function Names
 * We use [lowerCamelCase](http://en.wikipedia.org/wiki/CamelCase#Variations_and_synonyms) for function names (Google uses mixed case for regular functions; and their accessors and mutators match the name of the variable).