M
M
Mercury132015-12-14 00:48:41
Java
Mercury13, 2015-12-14 00:48:41

How does the "Suspicious names combination" warning work in NetBeans?

Here I have a line.
setRgb(Skin.RGB_ENERGY);
On it, NetBeans displays a warning: Suspicious names combination.
Who knows why it displays and by what rules this warning works?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mercury13, 2016-07-01
@Mercury13

Suspicious names combination is simple and stupid: x with width, y with height. Even if in one place x or width, and next to neither one nor the other, this is already a warning. Moreover, x and y are found in rather exotic places. And he did not like energy precisely with the letter y.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question