title: Remove planes if boolean = true not working
body: <p>I'm trying to remove my planes when the user inputs that they have landed.  This doesn't work.  Can anyone see any problems with my code to why it does not work.</p>
  
  <p>Here is my code:</p>
  
  <p><strong>Plane</strong></p>
  
  <pre><code>static boolean isLanded;
  public boolean isLanded() {
          return isLanded;
      }
  
  
      public void setLanded(boolean isLanded) {
          this.isLanded = isLanded;
      }
  </code></pre>
  
  <p><strong>PlaneStore</strong></p>
  
  <pre><code>public void removeLandedPlanes(PlaneStore store)
      {
          if(Plane.isLanded = true)
          {
              airlineMap.remove(store);
          }
      }
  </code></pre>
  
  <p><strong>MainApp</strong></p>
  
  <pre><code>case 3:
                      System.out.println("Remove Landed Planes.");
                      airlineMap.removeLandedPlanes(airlineMap);
                      airlineMap.print();
                      break;
  </code></pre>
  
  <p><strong>HashMap declaration in PlaneStore</strong></p>
  
  <pre><code>HashMap&lt;String, TreeMap&lt;String, Plane&gt;&gt; airlineMap;
  
      public PlaneStore() 
      {
          airlineMap = new HashMap&lt;String, TreeMap&lt;String, Plane&gt;&gt;();
      }
  </code></pre>
  
  <p>And then in main PlaneStore <code>airlineMap = new PlaneStore();</code></p>
  
  <p>What this seems to have done is make every plane object to have <code>isLanded</code> to <code>false</code>.</p>