title: Passing boolean instead of Boolean in grails
body: <p>I am trying to pass a little-b <code>boolean</code> as an argument in this call:</p>
  
  <pre><code>boolean f = false
  DiskFileItem fileItem = diskFileItemFactory.createItem('file',  
     'multipart/file-upload', f as boolean, file.name) 
  </code></pre>
  
  <p>But I get the exception:</p>
  
  <pre><code>No signature of method: static DiskFileItemFactory.createItem()
    is applicable for argument types: (java.lang.String, java.lang.String, 
    java.lang.Boolean, java.lang.String) values: [file, multipart/file-upload, false,
    file.txt] Possible solutions: createItem(java.lang.String, java.lang.String, 
    boolean, java.lang.String)
  </code></pre>
  
  <p>Looks like it is still passing the big-b Boolean object rather than the primitive.  Is there a way I can force the primitive rather than the wrapper class as an argument (or is that completely not the error)?</p>