>>>>> "graydon" == graydon hoare <[EMAIL PROTECTED]> writes:

graydon> the assignment however cannot coincide with the declaration, because
graydon> this is one of those "efficiency oriented" java APIs (pass in null if
graydon> you want the callee to allocate the array), and writing a literal
graydon> "null" in position of the "samples" argument degrades the type of the
graydon> argument to Object, which ambiguates the call: there's an overload for
graydon> each of int[], double[] and float[].

Sorry, I didn't read carefully enough.  In that case you'll need
either `(int[]) null' or you'll have to keep the initialization (only
fields are initialized...).  Our style, as far as I know, says nothing
about this situation, so it's up to you.

Tom


_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to