I was curious - if people had managed to use the ATTRIBUTE_X constants - ever.

Here is what I found:
- ATTRIBUTE_GEOMETRY - once in a comment by oracle datastore wondering why no values occur
- ATTRIBUTE - lots
- ATTRIBUTE_DOUBLE - 5 times in filter and xml/filter parsing code
- ATTRIBUTE_INTEGER - twice in as part of a switch block also including ATTRIBUTE
- ATTRIBUTE_STRING - 5 times same methods as Integer above
- ATTRIBUTE_UNDECLARED - 3 times same methods as Integer above

Note that I have included the uses of static DefaultExpression.isGeometryExpresison( short ) in the mix above.

The strangest one I found was:
protected static short convertType(String expType) {
...
    else if (expType.equals("PropertyName")) {
            return ConstantExpression.ATTRIBUTE_DOUBLE;

Which is probably a mistake ...

Jody


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to