title: switch with char1
body: <p>I'm trying to use switch on Java 6 with parameter type char 1
  but I am getting an error "cannot convert char to string",what am I doing wrong here?</p>
  
  <pre><code>public static void setRoot(Element rootTreeNode,char type ) {
  
      switch (type) {
      case "a":
  </code></pre>
  
  <p>I want that the case will be on char1.</p>