@@ -0,0 +1,717 @@
+package sfBugs;%0A%0Aimport java.io.IOException;%0Aimport java.io.InputStream;%0A%0Aimport edu.umd.cs.findbugs.annotations.ExpectWarning;%0Aimport edu.umd.cs.findbugs.annotations.NoWarning;%0A%0Apublic class RFE3485034 %7B%0A%0A    @ExpectWarning(%22OBL_UNSATISFIED_OBLIGATION,OS_OPEN_STREAM%22)%0A    public int getByteBad(String s) throws IOException %7B%0A        InputStream in = RFE3485034.class.getResourceAsStream(s);%0A        return in.read();%0A    %7D%0A%0A    @NoWarning(%22OBL_UNSATISFIED_OBLIGATION,OS_OPEN_STREAM%22)%0A    public int getByteGood(String s) throws IOException %7B%0A        InputStream in = RFE3485034.class.getResourceAsStream(s);%0A        try %7B%0A            return in.read();%0A        %7D finally %7B%0A            in.close();%0A        %7D%0A    %7D%0A%0A%7D%0A

add test case