title: Should I always close BufferedReader?
body: <p>Here is a line reading a file into a <code>List</code>:</p>
  
  <pre><code>List&lt;String&gt; lines =
      new BufferedReader(
          new InputStreamReader(classLoader.getResourceAsStream(fileName)))
              .lines()
              .collect(Collectors.toList());
  </code></pre>
  
  <p>Is this correct or should I assign the <code>BufferedReader</code> to a variable to be able to close it later?</p>