Ticket #228 (new defect)

Opened 11 years ago

Last modified 9 years ago

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

Changed 9 years ago by kjdon

  • severity set to minor
  • milestone set to Collection building wishlist
Note: See TracTickets for help on using tickets.