Skip to content

Commit 5481c53

Browse files
committed
Remove duplications in naming-conventions.
1 parent 8461866 commit 5481c53

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

_style/naming-conventions.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ advanced feature in Scala, to be used only by those most well-versed in
266266
its pitfalls. Without care, excessive use of symbolic method names can
267267
easily transform even the simplest code into symbolic soup.
268268

269-
## Constants, Values, Variable and Methods
269+
## Constants, Values and Variable
270270

271271
Constant names should be in upper camel case. Similar to Java's `static final`
272272
members, if the member is final, immutable and it belongs to a package
@@ -281,7 +281,6 @@ The value: `Pi` in `scala.math` package is another example of such a constant.
281281
Method, Value and variable names should be in lower camel case:
282282

283283
val myValue = ...
284-
def myMethod = ...
285284
var myVariable
286285

287286
## Type Parameters (generics)

0 commit comments

Comments
 (0)