My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 11: JPG image creation - patch
  Back to list
Status:  Fixed
Owner:  ----
Closed:  Mar 2008


Sign in to add a comment
 
Reported by cliffano, Mar 11, 2008
Classes from com.sun.image.codec.jpeg.* is deprecated
    [javac]
D:\dev\eclipse-workspace\kaptcha\src\java\com\google\code\kaptcha\se
rvlet\KaptchaServlet.java:18: warning: com.sun.image.codec.jpeg.JPEGCodec
is Sun
 proprietary API and may be removed in a future release
    [javac] import com.sun.image.codec.jpeg.JPEGCodec;
    [javac]                                ^

Attached is a patch that replace them with ImageIO to generate the JPG image.
patch-kaptcha-kaptchaservlet.txt
4.7 KB   View   Download
Mar 11, 2008
Project Member #1 latch...@gmail.com
You replaced tabs with spaces. Please upload a patch that doesn't do that. ;-)
Mar 12, 2008
#2 cliffano
Take 2, patch with the tabs preserved.
patch-kaptcha-servlet-tabs.txt
2.1 KB   View   Download
Mar 13, 2008
Project Member #3 latch...@gmail.com
did a bit of refactoring on this patch. there was already an init() method.
Status: Fixed
Sign in to add a comment

Powered by Google Project Hosting