so remove it and paste its body wherever it is used. -igor
On 9/21/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > On 9/21/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > have you looked at the code? > > > > Classes.isprimitive does not differentiate between int and Integer, > while > > Class.isprimitive() does > > I overlooked that, but frankly, the name is ill chosen (as you're > *not* just testing whether the argument is a Java primitve) and the > Javadoc doesn't state this either. And why not call it isFoo if you > expect people to look at the implementation? I'd prefer this method to > go from the API. > > Eelco >
