title: Android, Java, Eclipse: Syntax Error on token "if", ( expected after this token
body: <p>Why do i get the following Syntax error ?</p>
  
  <pre><code>public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      SharedPreferences pvtPref = getPreferences(MODE_PRIVATE);
      Boolean isFirstLaunch = pvtPref.getBoolean("isFirstLaunch", false);
      if (isFirstLaunch == true) {   // &lt;&lt;&lt;&lt; Syntax Error ?
      // Do Something
      }
  }
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>Multiple Markers at this line
  -Syntax error on token "if", ( expected after this token
  -Line breakpoint:LaunchEngine[line:30] - onCreate(Bundle)
  </code></pre>