|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| This report was generated with an evaluation server license. Purchase Clover or configure your license. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CaptchaService | Line # 11 | 1 | 0% | 1 | 2 | 0% |
0.0
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Tests | |||
| 1 | package net.sourceforge.pebble.confirmation; | |
| 2 | ||
| 3 | import com.octo.captcha.service.image.DefaultManageableImageCaptchaService; | |
| 4 | import com.octo.captcha.service.image.ImageCaptchaService; | |
| 5 | ||
| 6 | /** | |
| 7 | * Singleton wrapper for the JCaptcha services. | |
| 8 | * | |
| 9 | * @author Simon Brown | |
| 10 | */ | |
| 11 | public class CaptchaService { | |
| 12 | ||
| 13 | private static final ImageCaptchaService instance = new DefaultManageableImageCaptchaService(); | |
| 14 | ||
| 15 | /** | |
| 16 | * Gets the singleton ImageCaptchaService instance. | |
| 17 | * | |
| 18 | * @return an ImageCaptchaService instance | |
| 19 | */ | |
| 20 | 0 |
public static ImageCaptchaService getInstance(){ |
| 21 | 0 | return instance; |
| 22 | } | |
| 23 | ||
| 24 | } | |
|
||||||||||||