Today I had to spent some time on writing SuppressWarnings syntax for multiple values. So thought of posting it ...
It can be written in following ways :
It can be written in following ways :
- @SuppressWarnings("deprecation")
- @SuppressWarnings({ "unchecked", "unused" })
- @SuppressWarnings(value = {"unchecked", "unused"})