Opened 16 years ago

Last modified 15 years ago

#228 new defect

compile warnings for GLI

Reported by: anonymous Owned by: nobody
Priority: moderate Milestone: Collection building wishlist
Component: GLI Severity: minor
Keywords: Cc:

Description

we should aim to remove these warnings:

=====================================

Compiling the Greenstone Librarian Interface... src/org/greenstone/gatherer/gui/HelpFrame.java:156: warning: [deprecation] toURL() in java.io.File has been deprecated

return (new File(help_file_path)).toURL();

src/org/greenstone/gatherer/feedback/FeedbackInterface.java:1382: warning: com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and may be removed in a future release

JPEGImageEncoder encoder;

src/org/greenstone/gatherer/feedback/FeedbackInterface.java:1383: warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a future release

encoder = JPEGCodec.createJPEGEncoder(out);

src/org/greenstone/gatherer/feedback/FeedbackInterface.java:1384: warning: com.sun.image.codec.jpeg.JPEGEncodeParam is Sun proprietary API and may be removed in a future release

JPEGEncodeParam param;

Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 warnings Note: src/org/greenstone/gatherer/gems/GEMS.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: src/org/greenstone/gatherer/remote/ZipFiles.java uses unchecked or unsafe operations.

Change History (1)

comment:1 by kjdon, 15 years ago

Milestone: Collection building wishlist
Severity: minor
Note: See TracTickets for help on using tickets.