title: Apache Common FileUtils readLines method ambiguous call
body: <p>I stumbled upon this problem when trying to play around with Apache commons IO third party API with Android Studio. </p>
  
  <p>Basically when I try to call the <strong>FileUtils.readLines()</strong> method, there are 3 options:</p>
  
  <ul>
  <li><strong>readLines(File file)</strong> >>>> <strong><em>DEPRECATED</em></strong> </li>
  <li><strong>readLines(File file, String encoding)</strong></li>
  <li><strong>readLines(File file, Charset encoding)</strong></li>
  </ul>
  
  <p>The first option has already been deprecated which means that I shouldn't use it anymore so instead I just type <strong>readLines(file,null)</strong> However, right now the problem is that Android Studio doesn't know which readLines() method signature I'm using because <strong>readLines(file,null)</strong> is valid for both the second and third method signature. </p>
  
  <p>Screenshot below to further explain what I mean:</p>
  
  <p><a href="https://i.stack.imgur.com/he9a0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/he9a0.png" alt="enter image description here"></a></p>
  
  <p>Can anyone please enlighten me on this? How can I tell Android Studio the particular method signature that I want to use for <strong>FileUtils.readLines()</strong>?</p>