greenbays / openid4java

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

DirectError Line 26 has a typo? #22

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Not sure what this affect, but in org.openid4java.message.DirectError line
26, it seems like the String "contat" should read "contact".

The overall function currently reads:
protected final static List optionalFields = Arrays.asList( new String[] {
            "contat",
            "reference"
    });

But seems like it should read:
 protected final static List optionalFields = Arrays.asList( new String[] {
            "contact",
            "reference"
    });

Original issue reported on code.google.com by sappenin on 2 May 2007 at 4:38

GoogleCodeExporter commented 8 years ago
Thanks for the correction! The optional fields variable is not actually used -- 
I've 
put it in the message classes for reference, so that one doesn't have to keep a 
constant eye on the spec to be aware of all the possible field names. 

Original comment by Johnny.B...@gmail.com on 19 May 2007 at 7:37