On 2012-10-04 23:14+0100 Andrew Ross wrote: > Turns out that what we were doing is no longer recommended (see for > example http://www.javapractices.com/topic/TopicAction.do?Id=32). I've > implemented an alternative method using the static import feature to > import all the plplot constants into the current namespace for the > examples. Personally this doesn't seem like a particularly nice > workaround, but it is neater than using the full plplotjavacConstants > interface namespace for all the constants. > > I've also cleaned up all the unnecessary casts. Again I'm not sure this > is a really good thing. The casts make it absolutely clear that the > type is changing even if they are not strictly required and avoid those > hard to track down rounding problems that can occur otherwise. > > Anyway, these changes make the gcj compile of the java examples free of > warnings.
Hi Andrew: Same result here. Thanks very much for this warnings cleanup! Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel