13 lines
206 B
Plaintext
13 lines
206 B
Plaintext
include::description.adoc[]
|
|
|
|
=== Noncompliant code example
|
|
|
|
[source,text]
|
|
----
|
|
public int getTheNumber(int positiveInt) {
|
|
int num = Integer.MAX_VALUE;
|
|
return num + positiveInt; // Noncompliant
|
|
}
|
|
----
|
|
|