axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell Butek" <>
Subject Re: String class is final:
Date Mon, 08 Apr 2002 15:43:17 GMT
Thanks.  I've made the change.  Given your suggestion I also found a couple
more that we could improve - Boolean.class and byte[].class.

Russell Butek

Richard Emberson <> on 04/07/2002 08:29:09 PM

Please respond to

Sent by:

Subject:    String class is final:

The String class is final so that in the method:

    public boolean isPrimitive(Object value, Class javaType)

in the file:

        if (String.class.isAssignableFrom(javaType)) return true;

can be changed to:

    if (String.class == javaType) return true;


View raw message