QueryCapabilities.supportsSorting should return "true" when the SortBy[] is 
empty or null
-----------------------------------------------------------------------------------------

                 Key: GEOT-1839
                 URL: http://jira.codehaus.org/browse/GEOT-1839
             Project: GeoTools
          Issue Type: Improvement
          Components: data jdbc
    Affects Versions: 2.5-M2, 2.4.4
            Reporter: Andrea Aime
             Fix For: 2.4.5, 2.5-M3


At the moment the behaviour is not specified. Advantages of doing so:
* one knows what to expect
* the is no need to check for empty or null array in all points calling the 
method

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to