title: Intellij duplicate class found in the file
body: <p>I am using Intellij Ultimate 2016.3.4 on Ubuntu 16.04</p>
  
  <p>After renaming a class: Foo -> FOO (same name but capital letters) - the compiler recognizes two classes and shows them both in project explorer. But in the folder is only one file/class existing.</p>
  
  <p>It seems like Intellij is saving the old name class somewhere an gets the conflikt.</p>
  
  <p>update:
  in project explorer i see:</p>
  
  <p>FOO<br>
  Foo.java<br>
  -> FOO</p>
  
  <p>Anyone else with the same problem?</p>
  
  <p><a href="https://stackoverflow.com/questions/6580384/duplicate-class-found-intellij-and-class-files">&quot;Duplicate class found&quot; - IntelliJ and .class files</a> does not solve my problem.</p>