> Did you read the Javadocs? It is clearly written that we sort > 1) by ordinal > 2) by fully qualified class name.
Side note as I'm atm busy with a $$dayjob issue. We might additionally need to sort via the PropertySource name. That would be important if you have 2 PropertyFilePropertySource instances with different URLs. They should get a well defined sorting as well. After that there really should be no == in the sorting anymore, right? LieGrue, strub > On Tuesday, 27 January 2015, 21:26, Anatole Tresch <[email protected]> wrote: > > -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 >> >> > > > -- > *Anatole Tresch* > Java Engineer & Architect, JSR Spec Lead > Glärnischweg 10 > CH - 8620 Wetzikon > > *Switzerland, Europe Zurich, GMT+1* > *Twitter: @atsticks* > *Blogs: **http://javaremarkables.blogspot.ch/ > <http://javaremarkables.blogspot.ch/>* > > *Google: atsticksMobile +41-76 344 62 79* >
