#11 Avoid deprecated methods and classes

open
None
5
2007-06-13
2007-06-09
Jonathan Marsden
No

There a couple of places in the current release 0.8 Java host code that use methods or types which are officially "deprecated". It should be a small and straightforward task to see what the currently non-deprecated equivalents are, make the small changes to the Reprap sources to use them, compile and test.

Jonathan

-------------------------------------------------------------------------------------------------------------
[javac] /home/jonathan/reprap2/Reprap/src/org/reprap/Main.java:106: warning: [deprecation] show() in java.awt.Dialog has been deprecated
[javac] prefs.show();
[javac] ^
[javac] /home/jonathan/reprap2/Reprap/src/org/reprap/gui/STLObject.java:253: warning: [deprecation] javax.media.j3d.Morph in javax.media.j3d has been deprecated
[javac] } else if ( sg instanceof Shape3D || sg instanceof Morph )
[javac] ^
--------------------------------------------------------------------------------------------------------------

Discussion

    • assigned_to: nobody --> jmarsden