'Optional.get()' without 'isPresent()' check
<p>I have the following search code in Java:</p>
<pre><code>return getTableViewController().getMe().getColumns().stream()
    .filter($ -&gt; Database.equalsColumnName($.getId(), columnId))
    .findFirst()
    .get();
</code></pre>
<p>I was wishing to find column by name and return first one found.</p>
<p>I understand there is a case when nothing found and it should be processed, but how?</p>
<p>Is this what it wants by this swearing:</p>
<pre><code>'Optional.get()' without 'isPresent()' check
</code></pre>
<p>?</p>
<p>How to fix? I wish to return <code>null</code> if nothing found.</p>
<p><strong>UPDATE</strong></p>
<p>Okay, okay, I just didn't realize, that <code>findFirst()</code> returns <code>Optional</code>.</p>