|
From: =?iso-8859-1?Q?<jp....@ti...> - 2003-09-05 11:24:02
|
Juergen,=0D=0A=0D=0AI don't know if I should make even it's very thin.=0D=
=0A=0D=0AAs the MutableSortDefinition can by highly subclassed (no final =
methods, ...), I simply for now subclassed in a personal CustomSortDefini=
tion which adds the constructor. I use systematically my own subclass. =0D=
=0A=0D=0AIn summary, I don't know if my need is really general to resolve=
it in the base Class. I think yes as a simple way to initialize a new so=
rt definition is useful. But as a personal way was found, I wait for more=
advices before re-putting it.=0D=0A=0D=0AJean-Pierre=0D=0A=0D=0A--------=
-- Initial Header -----------=0D=0A=0D=0AFrom : springframework-deve=
lop...@li...=0D=0ATo : "JP Pawlak" <jp.pawl=
ak...@ti...>,<spr...@li...>=0D=0ACc =
: =0D=0ADate : Fri, 5 Sep 2003 12:49:56 +0200=0D=0ASubject =
: RE: [Springframework-developer] MutableSortDefinition=0D=0A=0D=0AFeel f=
ree to re/add it if you actually need it - I fixed bug in the sort defini=
tion dirty detection via a copy constructor instead of reflection-based p=
roperty copying (only occured on certain JDKs like Sun 1.3.1).=0D=0A =0D=0A=
Juergen=0D=0A(yes, I admit it, reading my emails from an Internet termina=
l in Australia ;-)=0D=0A =0D=0A=0D=0A -----Original Message----- =0D=0A F=
rom: JP Pawlak [mailto:jp....@ti...] =0D=0A Sent: Sat 8/30/2003 2=
:44 PM =0D=0A To: spr...@li... =0D=0A =
Cc: =0D=0A Subject: [Springframework-developer] MutableSortDefinition=0D=0A=
=0D=0A =0D=0A=0D=0A Juergen,=0D=0A =0D=0A Is it a reason for which the M=
utableSortDefinition has no more a=0D=0A constructor with its properties =
(property, ascending, ignoreCase and=0D=0A eventually which was not on th=
e previous constructor=0D=0A toggleAscendingOnProperty)?=0D=0A It's now i=
nstead a constructor taking a base sort definition that don't=0D=0A help =
me.=0D=0A =0D=0A It was simpler to create sort definitions.=0D=0A =0D=0A =
SortDefinition soertDef =3D new MutableSortDef(...);=0D=0A =0D=0A Has now=
to be replaced by=0D=0A =0D=0A SortDefinition soertDef;=0D=0A =0D=0A Pub=
lic Constructor {=0D=0A Super();=0D=0A MutableSortDefinit=
ion sort =3D new MutableDefinition();=0D=0A Sort.setXXX(xxx);=0D=0A=
Sort.setYYY(yyy); =0D=0A Sort.setZZZ(zzz);=0D=0A =
sortDef =3D sort;=0D=0A }=0D=0A =0D=0A Jean-Pierre=0D=0A =0D=0A =0D=
=0A =0D=0A =0D=0A =0D=0A ------------------------------------------------=
-------=0D=0A This sf.net email is sponsored by:ThinkGeek=0D=0A Welcome t=
o geek heaven.=0D=0A http://thinkgeek.com/sf=0D=0A ______________________=
_________________________=0D=0A Springframework-developer mailing list=0D=
=0A Spr...@li...=0D=0A https://lists.s=
ourceforge.net/lists/listinfo/springframework-developer=0D=0A =0D=0A=0D=0A=
=0A=0A********** L'ADSL A 20 EUR/MOIS********** =0AAvec Tiscali, l'ADSL e=
st =E0 20 EUR/mois. Vous pourrez chercher longtemps avant de trouver moin=
s cher ! =0APour profiter de cette offre exceptionnelle, cliquez ici : ht=
tp://register.tiscali.fr/adsl/=0AOffre soumise =E0 conditions.=0A
|