@SuppressWarning("all") public void foo() { //your code here }
You can get more specific than that if you like, but I'd read up on Annotations first. This feature was introduced in Java 5, so if you're using an earlier version, let me know.
Also you'll need to use a later revision of 1.5.0. The second revision doesn't support the suppress warnings, but in revisions greater than or equal to 6, it should work. [ May 11, 2007: Message edited by: Keith Lynn ]