Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

where does getNextImageCaptcha() defined?

 
ron sun
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i can not find definition of getNextImageCaptcha() which is called in line 419 net\jforum\entities\UserSession.java.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11914
209
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does the entire line of code look like?

On my (modified) codebase, it looks like:

 
ron sun
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes. that is the line i want to say.



i can not find the definition for "getNextImageCaptcha()".

i really confused. is this a bug?

thanks.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34839
369
Eclipse IDE Java VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ron,
The Captcha class in JForum extends the ListImageCaptchaEngine class in the jcaptcha library. It is that superclass that has the getNextImageCaptcha() class. JavaDoc is online.
 
ron sun
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic