Java Code Examples for java.io.BufferedWriter#hashCode()
The following examples show how to use
java.io.BufferedWriter#hashCode() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Bug1399.java From spotbugs with GNU Lesser General Public License v2.1 | 4 votes |
@ExpectWarning("OS_OPEN_STREAM") void test9(File f, byte b) throws IOException { BufferedWriter c = Files.newBufferedWriter(Paths.get(""), Charset.defaultCharset()); c.hashCode(); }
Example 2
Source File: Bug1399jdk8.java From spotbugs with GNU Lesser General Public License v2.1 | 4 votes |
@ExpectWarning("OS_OPEN_STREAM") void test2(File f, byte b) throws IOException { BufferedWriter c = Files.newBufferedWriter(Paths.get("")); c.hashCode(); }