I have gone through the deprecated methods and sorted out what was needed; I stubbed in a getDescription() method so that 2.5.x users would have a non deprecated method to call. Ended up adding a few methods "early" such as Font.getStyle(); so the Font.getFontStyle() method could remain deprecated.
A few other differences were found (between Set and List) were discovered and punted over to the geoapi list. Jody > > We are running into some inconsistencies with the style interface after > > your recent deprecations; my co-worker will send the details. > > I've been doing some testing with the RasterSymbolizer and other > styling related classes in GeoTools and have come across some methods > that have been deprecated, however the replacement method does not exist. > > For example in the org.geotools.styling.Style interface the getTitle() > method is deprecated and says "replaced by getDescription().getTitle", > however I cannot find a getDescription() function available to use. > > Emily > > > > Jody Garnett wrote: >> Looking into HG would cost me time and and I would rather spend that >> getting the 2.5.x release out. >> >> Johann I have been trying to talk to you about the last remaining >> design decisions with respect to variable length functions - >> basically since you started the work. If you notice in my email below >> I am making a decision to treat the number of parameters as a MINIMUM >> value - will that work out for you. >> >> We are running into some inconsistencies with the style interface >> after your recent deprecations; my co-worker will send the details. >> Jody >> >> johann sorel wrote: >>> Hi jody, >>> >>> The patch for 2.6.x is ready (but has some test failures in the >>> streaming renderer) >>> My work continues on HG. >>> Feel free to grab my work on the HG if you want it. >>> >>> Regards >>> >>> Johann >>> >>> >>> Jody Garnett a écrit : >>>> Hi Johann; >>>> >>>> I have added the Concatenate function to geotools main (we needed >>>> it for some SLD 1.0 parsing). I have decided to treat the number of >>>> parameters (for a function that allows a variable number of >>>> parameters) as a minimum value. >>>> >>>> So for Concatenate I expect it to be reported in a WFS capabilities >>>> as requiring 2 parameters. >>>> >>>> I trust this is okay? >>>> >>>> A related question is the horrible state of StyleFactory :-) Have >>>> you had any additional thoughts on a geopai StyleFactory? I am not >>>> going to bother documenting what GeoTools has now - I would rather >>>> clean it up in conjunction with your SE 1.1 work. >>>> >>>> Jody >>>> >>> >> >> >> ------------------------------------------------------------------------- >> >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win >> great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Geotools-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geotools-devel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
