Skip to content

Commit

Permalink
Merge pull request scala#514 from solimant/solimant-patch-1
Browse files Browse the repository at this point in the history
Reword for clarity (minor improvement)
  • Loading branch information
SethTisue committed Apr 3, 2016
2 parents b19591b + 5cb216b commit ade70f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions style/naming-conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,9 @@ easily transform even the simplest code into symbolic soup.

## Constants, Values, Variable and Methods

Constant names should be in upper camel case. That is, if the member is
final, immutable and it belongs to a package object or an object,
it may be considered a constant (similar to Java's `static final` members):
Constant names should be in upper camel case. Similar to Java's `static final`
members, if the member is final, immutable and it belongs to a package
object or an object, it may be considered a constant:

object Container {
val MyConstant = ...
Expand Down

0 comments on commit ade70f2

Please sign in to comment.