-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
beta2
-
generic
-
generic
Name: krC82822 Date: 06/29/2001
This is a documentation error in the example for the CallbackHandler interface.
I found out that in the example under the handler in the
CallbackHandler interface the variable 'td ' is used instead of the declared variable 'toc '...
------------
29 Jun 2001, eval1127@eng --
http://java.sun.com/products/j2se/1.4/docs/api/javax/security/auth/callback/CallbackHandler.html
needs the following changes:
16c16
< System.out.println(toc.getMessage());
---
> System.out.println(td.getMessage());
19c19
< System.out.println("ERROR: " + toc.getMessage());
---
> System.out.println("ERROR: " + td.getMessage());
22c22
< System.out.println("WARNING: " + toc.getMessage());
---
> System.out.println("WARNING: " + td.getMessage());
26c26
< toc.getMessageType());
---
> td.getMessageType());
(Review ID: 127260)
======================================================================