We can not sort by classname. Even changing the package structure will change to sort order. What can cause mightmares in production? Changing runtime configuration because of package renaming?

Oliver

Am 27.01.15 um 21:26 schrieb Anatole Tresch:
-1 for failing.

Did you read the Javadocs? It is clearly written that we sort
1) by ordinal
2) by fully qualified class name.

So there is an order that even is not dependend on classloaders.


2015-01-27 19:52 GMT+01:00 Oliver B. Fischer <[email protected]>:

Hi,

I am just writing some unit tests. One of them adds multiple property
sources with the same key and the same ordinal. As we can not decide
which one is the right one we should throw an exception.

WDYT?

Oliver

--
N Oliver B. Fischer
A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
P +49 30 44793251
M +49 178 7903538
E [email protected]
S oliver.b.fischer
J [email protected]
X http://xing.to/obf




--
N Oliver B. Fischer
A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
P +49 30 44793251
M +49 178 7903538
E [email protected]
S oliver.b.fischer
J [email protected]
X http://xing.to/obf

Reply via email to