@@ -0,0 +1,1075 @@
+package sfBugs;%0A%0Aimport java.io.IOException;%0Aimport java.io.InputStream;%0Aimport java.util.Properties;%0Aimport java.util.logging.Level;%0Aimport java.util.logging.Logger;%0A%0Aimport com.google.common.io.Closeables;%0A%0Aimport edu.umd.cs.findbugs.annotations.NoWarning;%0A%0A@NoWarning(%22OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE%22)%0Apublic class Bug3584224 %7B%0A%0A    final static String PROPERTIES_FILENAME = %22properies.txt%22;%0A%0A    final static Logger LOGGER = Logger.getLogger(Bug3584224.class.getSimpleName());%0A%0A    public Properties test(Properties props, InputStream stream) %7B%0A        try %7B%0A            if (stream == null) %7B%0A                LOGGER.log(Level.WARNING, String.format(%22File %5B%25s%5D not found. Using default properties.%22, PROPERTIES_FILENAME));%0A            %7D else %7B%0A                props.load(stream);%0A            %7D%0A        %7D catch (IOException e) %7B%0A            LOGGER.log(Level.WARNING, String.format(%22Error reading %5B%25s%5D. Using default properties.%22, PROPERTIES_FILENAME), e);%0A        %7D finally %7B%0A            Closeables.closeQuietly(stream);%0A        %7D%0A        return props;%0A    %7D%0A%0A%7D%0A

add test case for Bug3584224