26 lines
447 B
Plaintext
26 lines
447 B
Plaintext
The long suffix should always be written in uppercase, i.e. 'L', as the lowercase 'l' can easily be confused with the digit one '1'.
|
|
|
|
|
|
== Noncompliant Code Example
|
|
|
|
----
|
|
return 10l // Noncompliant; easily confused with one zero one
|
|
----
|
|
|
|
|
|
== Compliant Solution
|
|
|
|
----
|
|
return 10L
|
|
----
|
|
|
|
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
include::comments-and-links.adoc[]
|
|
endif::env-github,rspecator-view[]
|