title: Type mismatch: cannot convert from integer to boolean
body: <pre><code>public boolean clearSelection() {
      int i = 0;
      if (!this.m_SelectedComps.isEmpty()) {
          i = 1;
          Iterator localIterator = this.m_SelectedComps.iterator();
          while (localIterator.hasNext())
              ((AnnotComponent) localIterator.next()).remove();
          this.m_SelectedComps.clear();
      }
  
      return i;
  }
  </code></pre>
  
  <p>How to convert the integer to boolean?</p>