Note: Dep.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Peter Taucher wrote:I don't think that this can be achieved in an easy way. For this reason (ok, at least it was part of it ; - ) I implemented my own extended Properties class (that remembers the order of keys like they occur in the properties file) sometime ago.
So do you need the specific order from the properties file or could you just sort the keys in some way, to achieve your goal?