Open 0x6675636b796f75676974687562 opened 4 months ago
How would you solve this? Just check for .seconds
, .minutes
and .hours
from the nodeText
?
How would you solve this? Just check for
.seconds
,.minutes
and.hours
from thenodeText
?
Yes, need to check that the syntax of the constant is the following:
val a = (some constant).(any method)
. And if the expression really fits this pattern, then not to raise a warning in the code of diktat.
This is a really easy fix
Describe the bug
The following constant declarations trigger the
MAGIC_NUMBER
false positive:Environment information