title: Generics: Cannot convert from Collections.emptyList() to List<String>
body: <p>Why</p>
  
  <pre><code>public List&lt;String&gt; getList(){
      if (isMyListOKReady())
          return myList;
      return Collections.emptyList();
  }
  </code></pre>
  
  <p>compiles well, but for</p>
  
  <pre><code>public List&lt;String&gt; getList(){
      return isMyListReady() ? myList : Collections.emptyList();
  }
  </code></pre>
  
  <p>Eclipse says <code>"Type mismatch: cannot convert from List&lt;Object&gt; to List&lt;String&gt;"</code>?</p>