I use a .properties file to maintain all of my DB queries. I have 9 of them that are determined dynamically. They are labeled like:
queryA=...
queryB=...
queyrC=....
In the code, they are selected via "query" + class.getProperty(). This leads to them appearing to be unused. This is a realy pain when I check in code and have it run the inspections. It always reports these 9.
Is there a way to allow for some type of notation or annotation noting that this warning can be ignore?
- @SuppressWarnings({"UnusedProperty"})
some.prefix.*.some.suffix