Robert Miles - 2010-03-30


I'm trying to suppress a warning given by FindBugs. It is complaining that I never use a variable (mkv) after it is created which is true but in this scenario it is fine. However, I can't seem to get it to suppress this warning. I'm currently doing:

try {
    @edu.umd.cs.findbugs.annotations.SuppressWarnings(value="DLS_DEAD_LOCAL_STORE", justification="Main MKV object")
    Mkv mkv = Mkv.start(qos);

I've been able to suppress other "bugs" using these annotations. Is there something  I am doing wrong?