CaliperMain uses com/google/caliper/util/Util.java, method loadProperties(),
line 62:
public static ImmutableMap<String, String> loadProperties(
InputSupplier<? extends InputStream> is) throws IOException {
Properties props = new Properties();
InputStream in = is.getInput();
try {
props.load(in);
} finally {
Closeables.closeQuietly(in); // HERE
}
return Maps.fromProperties(props);
}
This method has disappeared in 16.0+, and I use Guava 16.0.1in my project.
Original issue reported on code.google.com by fgalie...@gmail.com on 10 Feb 2014 at 12:07
Original issue reported on code.google.com by
fgalie...@gmail.com
on 10 Feb 2014 at 12:07