title: Unexcepted return value when using ifPresentOrElse lamba function
body: <p>I can't seem to figure out why I'm getting this error on the 
  IDE <code>Unexpected return value</code> when I need to return something from a method when using lambda.</p>
  
  <pre><code>public Employee getEmployee(long id) {
  repository.findById(id).ifPresentOrElse(
                  empDetails -&gt; {
                      return service.buildEmployee(empDetails);
                  },
          () -&gt; { throw new ResourceNotFoundException(); }
          );
  
  }
  </code></pre>
  
  <p>Thank you!</p>