...
In this noncompliant code example, there appears to be an underlying relationship between the two constants where none exists.:
Code Block | ||
---|---|---|
| ||
public static final int VOTING_AGE = 18; public static final int ALCOHOL_AGE = VOTING_AGE + 3; |
...
...
In this noncompliant code example, there appears to be an underlying relationship between the two constants where none exists.:
Code Block | ||
---|---|---|
| ||
public static final int VOTING_AGE = 18; public static final int ALCOHOL_AGE = VOTING_AGE + 3; |
...