takcy / openid4java

Automatically exported from code.google.com/p/openid4java
Apache License 2.0
0 stars 0 forks source link

ParameterList should say what specific parameter has multiple values #120

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a ParameterList object with more than one element in the associated 
parameter's String[] array

What is the expected output? What do you see instead?
ParameterList throws an IllegalArgumentException when it encounters a parameter 
that has multiple values in its String[] array, such as the following:

"Multiple parameters with the same name: [Ljava.lang.String;@64176417"

The memory address isn't particularly useful - would it be possible to, 
instead, use Arrays.toString() to print out the contents of the array and also 
say *what* parameter has multiple values?  It'd help greatly in troubleshooting.

What version of the product are you using? On what operating system?
0.9.5 on Windows 7, Ubuntu, and Red Hat Enterprise Linux

Please provide any additional information below.

Original issue reported on code.google.com by jrh...@gmail.com on 18 Jun 2010 at 7:01

GoogleCodeExporter commented 8 years ago
Fixed in r692.

Original comment by Johnny.B...@gmail.com on 1 Nov 2012 at 12:10