title: Spring context.xml and Set.contains()
body: <p>Spring: In my context.xml, I have:</p>
  
  <pre><code>&lt;util:set id="someIDs" 
        set-class="java.util.HashSet"
        value-type="java.lang.String"&gt;
           &lt;value&gt;"W000000001"&lt;/value&gt;
           &lt;value&gt;"W000000003"&lt;/value&gt;
           &lt;value&gt;"W000000009"&lt;/value&gt;        
  &lt;/util:set&gt; 
  </code></pre>
  
  <p>In my Java bean, the implementation is:</p>
  
  <pre><code>private Set&lt;String&gt; someSet = 
                ComUtilities.uncheckedCast(getApplicationContext()
               .getBean("someIDs"));
  
  boolean found = someSet.contains("W000000009");
  </code></pre>
  
  <p>After the execution of avobe code block, found is very weirdly false! How come? Any suggestion/idea? Thanks a bunch.</p>