title: Function argument and return value does look incorrect - Spring ResponseEntity
body: <p>I have such problem with ResponseEntity. The function returns such statement:</p>
  
  <pre><code>public ResponseEntity&lt;User&gt;
  </code></pre>
  
  <p>And some functions doesn't return type User instead some thing:</p>
  
  <pre><code>return new ResponseEntity&lt;&gt;(HttpStatus.NOT_FOUND);
  </code></pre>
  
  <p>What do you think about above example?</p>