title: Java Lambda: bug or feature with Predicate
body: <p>I attempted to make a multiple line <code>Predicate</code> by first adding curly brackets but Eclipse complains about the following code:</p>
  
  <pre><code>Stream&lt;String&gt; stringStream = temp.flatMap(x -&gt; Arrays.stream(x));
  Stream&lt;String&gt; stream = stringStream.filter(x -&gt; {"a".equals(x.toString());});
  </code></pre>
  
  <p>It says after placing a red line under filter: "The method <code>filter(Predicate&lt;? super String&gt;)</code> in the type <code>Stream&lt;String&gt;</code> is not applicable for the arguments <code>((&lt;no type&gt; x) -&gt; {})</code>"</p>
  
  <p>Is this because multiline predicates are not allowed or am I making some other mistake?</p>